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 : 712307 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 (2643399) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2643399) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119031 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2643399'] with mtr_portfolio_ids : ['21119031'] and first list_photo_ids : [] new path : /proc/712307/ Name: python3 Umask: 0002 State: R (running) Tgid: 712307 Ngid: 0 Pid: 712307 PPid: 712304 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 712307 NSpid: 712307 NSpgid: 711612 NSsid: 711612 VmPeak: 1106848 kB VmSize: 1106848 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97124 kB VmRSS: 97124 kB RssAnon: 59760 kB RssFile: 37364 kB RssShmem: 0 kB VmData: 865596 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 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: 57 nonvoluntary_ctxt_switches: 168 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '712307', 'Ngid': '0', 'Pid': '712307', 'PPid': '712304', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '712307', 'NSpid': '712307', 'NSpgid': '711612', 'NSsid': '711612', 'VmPeak': '1106848 kB', 'VmSize': '1106848 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97124 kB', 'VmRSS': '97124 kB', 'RssAnon': '59760 kB', 'RssFile': '37364 kB', 'RssShmem': '0 kB', 'VmData': '865596 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 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': '57', 'nonvoluntary_ctxt_switches': '168'} ('datou_batch_current', '712307', '1106848', '0', '1106848', '865596', '97124', b'', 'marlene', '2643399') 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 (21119031) 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 (2643399 ) ) 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 (21119031) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1341268325, 'portfolio_id': 21119031}, {'photo_id': 1341268322, 'portfolio_id': 21119031}, {'photo_id': 1341268318, 'portfolio_id': 21119031}, {'photo_id': 1341268313, 'portfolio_id': 21119031}, {'photo_id': 1341268291, 'portfolio_id': 21119031}, {'photo_id': 1341268286, 'portfolio_id': 21119031}, {'photo_id': 1341268282, 'portfolio_id': 21119031}, {'photo_id': 1341268212, 'portfolio_id': 21119031}, {'photo_id': 1341268202, 'portfolio_id': 21119031}, {'photo_id': 1341268173, 'portfolio_id': 21119031}, {'photo_id': 1341268161, 'portfolio_id': 21119031}, {'photo_id': 1341268154, 'portfolio_id': 21119031}, {'photo_id': 1341268145, 'portfolio_id': 21119031}, {'photo_id': 1341268133, 'portfolio_id': 21119031}, {'photo_id': 1341268130, 'portfolio_id': 21119031}, {'photo_id': 1341268126, 'portfolio_id': 21119031}, {'photo_id': 1341268033, 'portfolio_id': 21119031}, {'photo_id': 1341268022, 'portfolio_id': 21119031}, {'photo_id': 1341268019, 'portfolio_id': 21119031}, {'photo_id': 1341267985, 'portfolio_id': 21119031}, {'photo_id': 1341267980, 'portfolio_id': 21119031}, {'photo_id': 1341267977, 'portfolio_id': 21119031}, {'photo_id': 1341267872, 'portfolio_id': 21119031}, {'photo_id': 1341267868, 'portfolio_id': 21119031}, {'photo_id': 1341267761, 'portfolio_id': 21119031}, {'photo_id': 1341267745, 'portfolio_id': 21119031}, {'photo_id': 1341267740, 'portfolio_id': 21119031}, {'photo_id': 1341267668, 'portfolio_id': 21119031}, {'photo_id': 1341267662, 'portfolio_id': 21119031}, {'photo_id': 1341267658, 'portfolio_id': 21119031}, {'photo_id': 1341267634, 'portfolio_id': 21119031}, {'photo_id': 1341267630, 'portfolio_id': 21119031}, {'photo_id': 1341267614, 'portfolio_id': 21119031}, {'photo_id': 1341267587, 'portfolio_id': 21119031}, {'photo_id': 1341267586, 'portfolio_id': 21119031}, {'photo_id': 1341267557, 'portfolio_id': 21119031}, {'photo_id': 1341267554, 'portfolio_id': 21119031}, {'photo_id': 1341267551, 'portfolio_id': 21119031}, {'photo_id': 1341267545, 'portfolio_id': 21119031}, {'photo_id': 1341267535, 'portfolio_id': 21119031}, {'photo_id': 1341267524, 'portfolio_id': 21119031}, {'photo_id': 1341267509, 'portfolio_id': 21119031}, {'photo_id': 1341267407, 'portfolio_id': 21119031}, {'photo_id': 1341267402, 'portfolio_id': 21119031}, {'photo_id': 1341267380, 'portfolio_id': 21119031}, {'photo_id': 1341267371, 'portfolio_id': 21119031}, {'photo_id': 1341267367, 'portfolio_id': 21119031}, {'photo_id': 1341267318, 'portfolio_id': 21119031}, {'photo_id': 1341267247, 'portfolio_id': 21119031}, {'photo_id': 1341267244, 'portfolio_id': 21119031}, {'photo_id': 1341267036, 'portfolio_id': 21119031}, {'photo_id': 1341267005, 'portfolio_id': 21119031}, {'photo_id': 1341266999, 'portfolio_id': 21119031}, {'photo_id': 1341266993, 'portfolio_id': 21119031}, {'photo_id': 1341266983, 'portfolio_id': 21119031}, {'photo_id': 1341266979, 'portfolio_id': 21119031}, {'photo_id': 1341266974, 'portfolio_id': 21119031}, {'photo_id': 1341266921, 'portfolio_id': 21119031}, {'photo_id': 1341266918, 'portfolio_id': 21119031}, {'photo_id': 1341266914, 'portfolio_id': 21119031}, {'photo_id': 1341266905, 'portfolio_id': 21119031}, {'photo_id': 1341266898, 'portfolio_id': 21119031}] map_portfolio_id_photo_id: {21119031: [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524, 1341267509, 1341267407, 1341267402, 1341267380, 1341267371, 1341267367, 1341267318, 1341267247, 1341267244, 1341267036, 1341267005, 1341266999, 1341266993, 1341266983, 1341266979, 1341266974, 1341266921, 1341266918, 1341266914, 1341266905, 1341266898]} ##### 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.22991514205932617 #### 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 Mar 7 03:19:27 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 (21119031) 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 : 21119031 get user id for portfolio 21119031 get sub ptf for main ptf 21119031, type 3726 and hashtags ['environnement', 'mal_croppe', 'plastique', 'flou', 'kraft', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_brun', 'papier', 'metal', 'Carton_gris', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21119031 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','plastique','flou','kraft','Teint_Dans_La_Masse','autre_refus','Carton_brun','papier','metal','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21119031 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','plastique','flou','kraft','Teint_Dans_La_Masse','autre_refus','Carton_brun','papier','metal','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 21119031, 'sub_port_id': 21119095, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723961, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'kraft': {'main_port_id': 21119031, 'sub_port_id': 21119096, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723962, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'Carton_gris': {'main_port_id': 21119031, 'sub_port_id': 21119097, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723963, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'cartonnette': {'main_port_id': 21119031, 'sub_port_id': 21119098, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723964, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'metal': {'main_port_id': 21119031, 'sub_port_id': 21119099, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723965, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'flou': {'main_port_id': 21119031, 'sub_port_id': 21119100, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723966, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'mal_croppe': {'main_port_id': 21119031, 'sub_port_id': 21119101, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723967, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'autre_refus': {'main_port_id': 21119031, 'sub_port_id': 21119102, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723968, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'Carton_brun': {'main_port_id': 21119031, 'sub_port_id': 21119103, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723969, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'papier': {'main_port_id': 21119031, 'sub_port_id': 21119104, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723970, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'Teint_Dans_La_Masse': {'main_port_id': 21119031, 'sub_port_id': 21119105, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723971, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}, 'environnement': {'main_port_id': 21119031, 'sub_port_id': 21119106, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723972, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 27)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119095 , 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=21119031 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 (21119095) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119096 , 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=21119031 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 (21119096) result : ((1341268174,), (1341268175,), (1341268176,), (1341268177,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119097 , 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=21119031 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 (21119097) result : ((1341268169,), (1341268170,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119098 , 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=21119031 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 (21119098) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119099 , 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=21119031 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 (21119099) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119100 , 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=21119031 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 (21119100) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119101 , 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=21119031 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 (21119101) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119102 , 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=21119031 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 (21119102) result : ((1341268162,), (1341268163,), (1341268164,), (1341268165,), (1341268166,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119103 , 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=21119031 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 (21119103) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119104 , 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=21119031 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 (21119104) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119105 , 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=21119031 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 (21119105) result : ((1341268158,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21119106 , 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=21119031 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 (21119106) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21119031) result : ((1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21119031 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','plastique','flou','kraft','Teint_Dans_La_Masse','autre_refus','Carton_brun','papier','metal','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21119031 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','mal_croppe','plastique','flou','kraft','Teint_Dans_La_Masse','autre_refus','Carton_brun','papier','metal','Carton_gris','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 21119031, 'sub_port_id': 21119108, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723973, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'kraft': {'main_port_id': 21119031, 'sub_port_id': 21119109, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723974, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'Carton_gris': {'main_port_id': 21119031, 'sub_port_id': 21119110, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723975, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'cartonnette': {'main_port_id': 21119031, 'sub_port_id': 21119111, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723976, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'metal': {'main_port_id': 21119031, 'sub_port_id': 21119112, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723977, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'flou': {'main_port_id': 21119031, 'sub_port_id': 21119113, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723978, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'mal_croppe': {'main_port_id': 21119031, 'sub_port_id': 21119114, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723979, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'autre_refus': {'main_port_id': 21119031, 'sub_port_id': 21119115, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723980, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'Carton_brun': {'main_port_id': 21119031, 'sub_port_id': 21119116, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723981, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'papier': {'main_port_id': 21119031, 'sub_port_id': 21119117, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723982, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 21119031, 'sub_port_id': 21119118, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723983, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}, 'environnement': {'main_port_id': 21119031, 'sub_port_id': 21119119, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13723984, 'last_updated_at': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_desc': datetime.datetime(2025, 3, 6, 17, 25, 28), 'last_updated_at_asc': datetime.datetime(2025, 3, 6, 17, 25, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119108,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119095 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119109,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119096 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119110,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119097 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119111,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119098 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119112,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119099 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119113,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119100 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119114,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119101 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119115,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119102 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119116,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119103 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119117,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119104 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119118,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119105 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21119119,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21119106 lien utilise dans velours : https://www.fotonower.com/velours/21119108,21119109,21119110,21119111,21119112,21119113,21119114,21119115,21119116,21119117,21119118,21119119?tags=plastique,kraft,Carton_gris,cartonnette,metal,flou,mal_croppe,autre_refus,Carton_brun,papier,Teint_Dans_La_Masse,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21119031]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] map_info['map_portfolio_photo'] : {21119031: [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524, 1341267509, 1341267407, 1341267402, 1341267380, 1341267371, 1341267367, 1341267318, 1341267247, 1341267244, 1341267036, 1341267005, 1341266999, 1341266993, 1341266983, 1341266979, 1341266974, 1341266921, 1341266918, 1341266914, 1341266905, 1341266898]} final : False mtd_id 4302 list_pids : [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] Looping around the photos to save general results len do output : 1 /21119031. 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, '2643399') ('4302', '21119031', '1341268325', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '21119031', "{'plastique': 21119095, 'kraft': 21119096, 'Carton_gris': 21119097, 'cartonnette': 21119098, 'metal': 21119099, 'flou': 21119100, 'mal_croppe': 21119101, 'autre_refus': 21119102, 'Carton_brun': 21119103, 'papier': 21119104, 'Teint_Dans_La_Masse': 21119105, 'environnement': 21119106}", None, None, None, None, '2643399'), ('4302', '21119031', '1341268325', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399')] time used for this insertion : 0.17341923713684082 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.9731738567352295 time spend to save output : 0.17396211624145508 total time spend for step 1 : 2.1471359729766846 step2:final Fri Mar 7 03:19:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21119031) 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 21119031 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1341268325,1341268322,1341268318,1341268313,1341268291,1341268286,1341268282,1341268212,1341268202,1341268173,1341268161,1341268154,1341268145,1341268133,1341268130,1341268126,1341268033,1341268022,1341268019,1341267985,1341267980,1341267977,1341267872,1341267868,1341267761,1341267745,1341267740,1341267668,1341267662,1341267658,1341267634,1341267630,1341267614,1341267587,1341267586,1341267557,1341267554,1341267551,1341267545,1341267535,1341267524,1341267509,1341267407,1341267402,1341267380,1341267371,1341267367,1341267318,1341267247,1341267244,1341267036,1341267005,1341266999,1341266993,1341266983,1341266979,1341266974,1341266921,1341266918,1341266914,1341266905,1341266898); 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([21119031]) Inside saveOutput : final : False verbose : True original output for save of step final : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} new output for save of step final : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] map_info['map_portfolio_photo'] : {21119031: [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524, 1341267509, 1341267407, 1341267402, 1341267380, 1341267371, 1341267367, 1341267318, 1341267247, 1341267244, 1341267036, 1341267005, 1341266999, 1341266993, 1341266983, 1341266979, 1341266974, 1341266921, 1341266918, 1341266914, 1341266905, 1341266898]} final : False mtd_id 4302 list_pids : [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] Looping around the photos to save general results len do output : 41 /1341268325.Didn't retrieve data . /1341268322.Didn't retrieve data . /1341268318.Didn't retrieve data . /1341268313.Didn't retrieve data . /1341268291.Didn't retrieve data . /1341268286.Didn't retrieve data . /1341268282.Didn't retrieve data . /1341268212.Didn't retrieve data . /1341268202.Didn't retrieve data . /1341268173.Didn't retrieve data . /1341268161.Didn't retrieve data . /1341268154.Didn't retrieve data . /1341268145.Didn't retrieve data . /1341268133.Didn't retrieve data . /1341268130.Didn't retrieve data . /1341268126.Didn't retrieve data . /1341268033.Didn't retrieve data . /1341268022.Didn't retrieve data . /1341268019.Didn't retrieve data . /1341267985.Didn't retrieve data . /1341267980.Didn't retrieve data . /1341267977.Didn't retrieve data . /1341267872.Didn't retrieve data . /1341267868.Didn't retrieve data . /1341267761.Didn't retrieve data . /1341267745.Didn't retrieve data . /1341267740.Didn't retrieve data . /1341267668.Didn't retrieve data . /1341267662.Didn't retrieve data . /1341267658.Didn't retrieve data . /1341267634.Didn't retrieve data . /1341267630.Didn't retrieve data . /1341267614.Didn't retrieve data . /1341267587.Didn't retrieve data . /1341267586.Didn't retrieve data . /1341267557.Didn't retrieve data . /1341267554.Didn't retrieve data . /1341267551.Didn't retrieve data . /1341267545.Didn't retrieve data . /1341267535.Didn't retrieve data . /1341267524.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, '2643399') ('4302', '21119031', '1341268325', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 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', '21119031', '1341268325', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268322', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268318', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268313', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268291', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268286', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268282', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268212', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268202', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268173', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268161', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268154', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268145', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268133', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268130', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268126', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268033', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268022', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341268019', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267985', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267980', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267977', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267872', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267868', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267761', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267745', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267740', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267668', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267662', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267658', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267634', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267630', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267614', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267587', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267586', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267557', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267554', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267551', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267545', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267535', '0.06676300509256292', None, None, None, None, '2643399'), ('4302', '21119031', '1341267524', '0.06676300509256292', None, None, None, None, '2643399')] time used for this insertion : 0.025185346603393555 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.09854316711425781 time spend to save output : 0.02696061134338379 total time spend for step 2 : 0.1255037784576416 step3:velours_tree Fri Mar 7 03:19:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21119031: [{'plastique': 21119095, 'kraft': 21119096, 'Carton_gris': 21119097, 'cartonnette': 21119098, 'metal': 21119099, 'flou': 21119100, 'mal_croppe': 21119101, 'autre_refus': 21119102, 'Carton_brun': 21119103, 'papier': 21119104, 'Teint_Dans_La_Masse': 21119105, 'environnement': 21119106}]} input_args_next_step : {21119031: ()} output_args : {21119031: [{'plastique': 21119095, 'kraft': 21119096, 'Carton_gris': 21119097, 'cartonnette': 21119098, 'metal': 21119099, 'flou': 21119100, 'mal_croppe': 21119101, 'autre_refus': 21119102, 'Carton_brun': 21119103, 'papier': 21119104, 'Teint_Dans_La_Masse': 21119105, 'environnement': 21119106}]} args : 21119031 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'plastique': 21119095, 'kraft': 21119096, 'Carton_gris': 21119097, 'cartonnette': 21119098, 'metal': 21119099, 'flou': 21119100, 'mal_croppe': 21119101, 'autre_refus': 21119102, 'Carton_brun': 21119103, 'papier': 21119104, 'Teint_Dans_La_Masse': 21119105, 'environnement': 21119106},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21119031) 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([21119031]) 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.31893253326416016 time spend to save output : 8.177757263183594e-05 total time spend for step 3 : 0.319014310836792 step4:send_mail_cod Fri Mar 7 03:19:30 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} input_args_next_step : {1341268325: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268325 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268322 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268318 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268313 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268291 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268286 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268282 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268212 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268202 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268173 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268161 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268154 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268145 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268133 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268130 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268126 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268033 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268022 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341268019 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267985 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267980 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267977 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267872 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267868 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267761 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267745 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267740 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267668 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267662 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267658 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267634 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267630 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267614 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267587 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267586 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267557 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267554 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267551 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267545 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267535 depend.output_id : 0 input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ()} output_args : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',)} args : 1341267524 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 : {21119031: [{'plastique': 21119095, 'kraft': 21119096, 'Carton_gris': 21119097, 'cartonnette': 21119098, 'metal': 21119099, 'flou': 21119100, 'mal_croppe': 21119101, 'autre_refus': 21119102, 'Carton_brun': 21119103, 'papier': 21119104, 'Teint_Dans_La_Masse': 21119105, 'environnement': 21119106}]} input_args_next_step : {1341268325: ('0.06676300509256292',), 1341268322: ('0.06676300509256292',), 1341268318: ('0.06676300509256292',), 1341268313: ('0.06676300509256292',), 1341268291: ('0.06676300509256292',), 1341268286: ('0.06676300509256292',), 1341268282: ('0.06676300509256292',), 1341268212: ('0.06676300509256292',), 1341268202: ('0.06676300509256292',), 1341268173: ('0.06676300509256292',), 1341268161: ('0.06676300509256292',), 1341268154: ('0.06676300509256292',), 1341268145: ('0.06676300509256292',), 1341268133: ('0.06676300509256292',), 1341268130: ('0.06676300509256292',), 1341268126: ('0.06676300509256292',), 1341268033: ('0.06676300509256292',), 1341268022: ('0.06676300509256292',), 1341268019: ('0.06676300509256292',), 1341267985: ('0.06676300509256292',), 1341267980: ('0.06676300509256292',), 1341267977: ('0.06676300509256292',), 1341267872: ('0.06676300509256292',), 1341267868: ('0.06676300509256292',), 1341267761: ('0.06676300509256292',), 1341267745: ('0.06676300509256292',), 1341267740: ('0.06676300509256292',), 1341267668: ('0.06676300509256292',), 1341267662: ('0.06676300509256292',), 1341267658: ('0.06676300509256292',), 1341267634: ('0.06676300509256292',), 1341267630: ('0.06676300509256292',), 1341267614: ('0.06676300509256292',), 1341267587: ('0.06676300509256292',), 1341267586: ('0.06676300509256292',), 1341267557: ('0.06676300509256292',), 1341267554: ('0.06676300509256292',), 1341267551: ('0.06676300509256292',), 1341267545: ('0.06676300509256292',), 1341267535: ('0.06676300509256292',), 1341267524: ('0.06676300509256292',), 21119031: ()} output_args : {21119031: [{'plastique': 21119095, 'kraft': 21119096, 'Carton_gris': 21119097, 'cartonnette': 21119098, 'metal': 21119099, 'flou': 21119100, 'mal_croppe': 21119101, 'autre_refus': 21119102, 'Carton_brun': 21119103, 'papier': 21119104, 'Teint_Dans_La_Masse': 21119105, 'environnement': 21119106}]} args : 21119031 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 :42, first value : ('0.06676300509256292',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21119031) 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 (1341268325,1341268322,1341268318,1341268313,1341268291,1341268286,1341268282,1341268212,1341268202,1341268173,1341268161,1341268154,1341268145,1341268133,1341268130,1341268126,1341268033,1341268022,1341268019,1341267985,1341267980,1341267977,1341267872,1341267868,1341267761,1341267745,1341267740,1341267668,1341267662,1341267658,1341267634,1341267630,1341267614,1341267587,1341267586,1341267557,1341267554,1341267551,1341267545,1341267535,1341267524) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1341267524 begin to download photo : 1341267630 begin to download photo : 1341267872 begin to download photo : 1341268133 begin to download photo : 1341268291 download finish for photo 1341267524 begin to download photo : 1341267535 download finish for photo 1341268133 begin to download photo : 1341268145 download finish for photo 1341267630 begin to download photo : 1341267634 download finish for photo 1341268291 begin to download photo : 1341268313 download finish for photo 1341267872 begin to download photo : 1341267977 download finish for photo 1341268145 begin to download photo : 1341268154 download finish for photo 1341267535 begin to download photo : 1341267545 download finish for photo 1341267977 begin to download photo : 1341267980 download finish for photo 1341268313 begin to download photo : 1341268318 download finish for photo 1341267634 begin to download photo : 1341267658 download finish for photo 1341268154 begin to download photo : 1341268161 download finish for photo 1341267545 begin to download photo : 1341267551 download finish for photo 1341267980 begin to download photo : 1341267985 download finish for photo 1341267658 begin to download photo : 1341267662 download finish for photo 1341268318 begin to download photo : 1341268322 download finish for photo 1341267985 begin to download photo : 1341268019 download finish for photo 1341267551 begin to download photo : 1341267554 download finish for photo 1341268161 begin to download photo : 1341268173 download finish for photo 1341268322 begin to download photo : 1341268325 download finish for photo 1341267662 begin to download photo : 1341267668 download finish for photo 1341268019 begin to download photo : 1341268022 download finish for photo 1341267554 begin to download photo : 1341267557 download finish for photo 1341268173 begin to download photo : 1341268202 download finish for photo 1341268325 download finish for photo 1341268022 begin to download photo : 1341268033 download finish for photo 1341267668 begin to download photo : 1341267740 download finish for photo 1341267557 begin to download photo : 1341267586 download finish for photo 1341268202 begin to download photo : 1341268212 download finish for photo 1341267740 begin to download photo : 1341267745 download finish for photo 1341267586 begin to download photo : 1341267587 download finish for photo 1341268033 begin to download photo : 1341268126 download finish for photo 1341268212 begin to download photo : 1341268282 download finish for photo 1341267587 begin to download photo : 1341267614 download finish for photo 1341268126 begin to download photo : 1341268130 download finish for photo 1341267745 begin to download photo : 1341267761 download finish for photo 1341268282 begin to download photo : 1341268286 download finish for photo 1341267614 download finish for photo 1341268130 download finish for photo 1341268286 download finish for photo 1341267761 begin to download photo : 1341267868 download finish for photo 1341267868 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette211190951741313971/ length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P21119031_07-03-2025_03_19_31.pdf 21119095 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=21119095 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211190951741313971 21119096 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=21119096 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341268174: '1741278493_869785_1341266999_eb38c17d8bfc226b556cbe67779b75b6_rle_crop_3696200843_0.png', 1341268175: '1741278493_869785_1341266993_fc8c4d5919df9ebf3aa378bf209aa946_rle_crop_3696200874_0.png', 1341268176: '1741278493_869785_1341266983_44ca67df029e2c6da60c29ebfed839b3_rle_crop_3696200974_0.png', 1341268177: '1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201025_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f63c2660b1ec7f8bcd131a97bccf835f_9506487.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/7c18527e8480ed314109b2187fec17cd_99986552.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/ac0d091714d826e9fed70760ce190888_32679469.png change filename to text .imagette211190961741313971/ imagette211190961741313971/1741278493_869785_1341266999_eb38c17d8bfc226b556cbe67779b75b6_rle_crop_3696200843_0.png.png imagette211190961741313971/1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201025_0.png.png imagette211190961741313971/1741278493_869785_1341266993_fc8c4d5919df9ebf3aa378bf209aa946_rle_crop_3696200874_0.png.png imagette211190961741313971/1741278493_869785_1341266983_44ca67df029e2c6da60c29ebfed839b3_rle_crop_3696200974_0.png.png imagette211190981741313972/ imagette211190991741313972/ imagette211191001741313972/ imagette211191011741313972/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/22bc71cccbb5d07467556d7b1599c28f_33349967.png imagette211190961741313971 21119098 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=21119098 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211190981741313972 21119099 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=21119099 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211190991741313972 21119100 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=21119100 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211191001741313972 21119101 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=21119101 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211191011741313972 21119102 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=21119102 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341268162: '1741278493_869785_1341266999_eb38c17d8bfc226b556cbe67779b75b6_rle_crop_3696200842_0.png', 1341268163: '1741278493_869785_1341266993_fc8c4d5919df9ebf3aa378bf209aa946_rle_crop_3696200872_0.png', 1341268164: '1741278493_869785_1341266983_44ca67df029e2c6da60c29ebfed839b3_rle_crop_3696200970_0.png', 1341268165: '1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201030_0.png', 1341268166: '1741278493_869785_1341266974_b5d0f9d2ba964eb33ba487b7d7ca0be4_rle_crop_3696201038_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/9c6b00731565a9a1ead88973b8217e94_9276953.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/dd7eea215e629eff17c6777226e00fb8_47457804.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/51dc26f213c1368261b677abed651e30_91230731.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1e4ce1d857188d9df657266585c8d0d4_15992368.png change filename to text .imagette211191021741313972/ imagette211191021741313972/1741278493_869785_1341266983_44ca67df029e2c6da60c29ebfed839b3_rle_crop_3696200970_0.png.png imagette211191021741313972/1741278493_869785_1341266974_b5d0f9d2ba964eb33ba487b7d7ca0be4_rle_crop_3696201038_0.png.png imagette211191021741313972/1741278493_869785_1341266993_fc8c4d5919df9ebf3aa378bf209aa946_rle_crop_3696200872_0.png.png imagette211191021741313972/1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201030_0.png.png imagette211191021741313972/1741278493_869785_1341266999_eb38c17d8bfc226b556cbe67779b75b6_rle_crop_3696200842_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/d42b9259172c79e7f0cbb5470399d62b_5172241.png imagette211191021741313972 21119097 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=21119097 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341268169: '1741278493_869785_1341266983_44ca67df029e2c6da60c29ebfed839b3_rle_crop_3696200966_0.png', 1341268170: '1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201018_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f6892ada8febf7757203f8517ae88e4f_9767095.png change filename to text .imagette211190971741313972/ imagette211190971741313972/1741278493_869785_1341266983_44ca67df029e2c6da60c29ebfed839b3_rle_crop_3696200966_0.png.png imagette211190971741313972/1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201018_0.png.png imagette211191031741313973/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/a762c9f569c0cabf3726f6d69dca55b2_87809035.png imagette211190971741313972 21119103 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=21119103 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette211191031741313973 21119105 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=21119105 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1341268158: '1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201026_0.png'} change filename to text .imagette211191051741313973/ imagette211191051741313973/1741278493_869785_1341266979_2807a87cc47a36622cc2b2f73a013d9e_rle_crop_3696201026_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/f55b2bcac18423453ee13d3cc43f28af_74338775.png imagette211191051741313973 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21119031 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21119108,21119109,21119110,21119111,21119112,21119113,21119114,21119115,21119116,21119117,21119118,21119119?tags=plastique,kraft,Carton_gris,cartonnette,metal,flou,mal_croppe,autre_refus,Carton_brun,papier,Teint_Dans_La_Masse,environnement your option no_mail is active, we will not send the real mail to your client args[1341268325] : ('0.06676300509256292',) no score found for photo 1341268325 We are sending mail with results at report@fotonower.com args[1341268322] : ('0.06676300509256292',) no score found for photo 1341268322 We are sending mail with results at report@fotonower.com args[1341268318] : ('0.06676300509256292',) no score found for photo 1341268318 We are sending mail with results at report@fotonower.com args[1341268313] : ('0.06676300509256292',) no score found for photo 1341268313 We are sending mail with results at report@fotonower.com args[1341268291] : ('0.06676300509256292',) no score found for photo 1341268291 We are sending mail with results at report@fotonower.com args[1341268286] : ('0.06676300509256292',) no score found for photo 1341268286 We are sending mail with results at report@fotonower.com args[1341268282] : ('0.06676300509256292',) no score found for photo 1341268282 We are sending mail with results at report@fotonower.com args[1341268212] : ('0.06676300509256292',) no score found for photo 1341268212 We are sending mail with results at report@fotonower.com args[1341268202] : ('0.06676300509256292',) no score found for photo 1341268202 We are sending mail with results at report@fotonower.com args[1341268173] : ('0.06676300509256292',) no score found for photo 1341268173 We are sending mail with results at report@fotonower.com args[1341268161] : ('0.06676300509256292',) no score found for photo 1341268161 We are sending mail with results at report@fotonower.com args[1341268154] : ('0.06676300509256292',) no score found for photo 1341268154 We are sending mail with results at report@fotonower.com args[1341268145] : ('0.06676300509256292',) no score found for photo 1341268145 We are sending mail with results at report@fotonower.com args[1341268133] : ('0.06676300509256292',) no score found for photo 1341268133 We are sending mail with results at report@fotonower.com args[1341268130] : ('0.06676300509256292',) no score found for photo 1341268130 We are sending mail with results at report@fotonower.com args[1341268126] : ('0.06676300509256292',) no score found for photo 1341268126 We are sending mail with results at report@fotonower.com args[1341268033] : ('0.06676300509256292',) no score found for photo 1341268033 We are sending mail with results at report@fotonower.com args[1341268022] : ('0.06676300509256292',) no score found for photo 1341268022 We are sending mail with results at report@fotonower.com args[1341268019] : ('0.06676300509256292',) no score found for photo 1341268019 We are sending mail with results at report@fotonower.com args[1341267985] : ('0.06676300509256292',) no score found for photo 1341267985 We are sending mail with results at report@fotonower.com args[1341267980] : ('0.06676300509256292',) no score found for photo 1341267980 We are sending mail with results at report@fotonower.com args[1341267977] : ('0.06676300509256292',) no score found for photo 1341267977 We are sending mail with results at report@fotonower.com args[1341267872] : ('0.06676300509256292',) no score found for photo 1341267872 We are sending mail with results at report@fotonower.com args[1341267868] : ('0.06676300509256292',) no score found for photo 1341267868 We are sending mail with results at report@fotonower.com args[1341267761] : ('0.06676300509256292',) no score found for photo 1341267761 We are sending mail with results at report@fotonower.com args[1341267745] : ('0.06676300509256292',) no score found for photo 1341267745 We are sending mail with results at report@fotonower.com args[1341267740] : ('0.06676300509256292',) no score found for photo 1341267740 We are sending mail with results at report@fotonower.com args[1341267668] : ('0.06676300509256292',) no score found for photo 1341267668 We are sending mail with results at report@fotonower.com args[1341267662] : ('0.06676300509256292',) no score found for photo 1341267662 We are sending mail with results at report@fotonower.com args[1341267658] : ('0.06676300509256292',) no score found for photo 1341267658 We are sending mail with results at report@fotonower.com args[1341267634] : ('0.06676300509256292',) no score found for photo 1341267634 We are sending mail with results at report@fotonower.com args[1341267630] : ('0.06676300509256292',) no score found for photo 1341267630 We are sending mail with results at report@fotonower.com args[1341267614] : ('0.06676300509256292',) no score found for photo 1341267614 We are sending mail with results at report@fotonower.com args[1341267587] : ('0.06676300509256292',) no score found for photo 1341267587 We are sending mail with results at report@fotonower.com args[1341267586] : ('0.06676300509256292',) no score found for photo 1341267586 We are sending mail with results at report@fotonower.com args[1341267557] : ('0.06676300509256292',) no score found for photo 1341267557 We are sending mail with results at report@fotonower.com args[1341267554] : ('0.06676300509256292',) no score found for photo 1341267554 We are sending mail with results at report@fotonower.com args[1341267551] : ('0.06676300509256292',) no score found for photo 1341267551 We are sending mail with results at report@fotonower.com args[1341267545] : ('0.06676300509256292',) no score found for photo 1341267545 We are sending mail with results at report@fotonower.com args[1341267535] : ('0.06676300509256292',) no score found for photo 1341267535 We are sending mail with results at report@fotonower.com args[1341267524] : ('0.06676300509256292',) no score found for photo 1341267524 We are sending mail with results at report@fotonower.com refus_total : 0.06676300509256292 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=21119031 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_P21119031_07-03-2025_03_19_31.pdf results_Auto_P21119031_07-03-2025_03_19_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','21119031','results_Auto_P21119031_07-03-2025_03_19_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf','pdf','','0.35','0.06676300509256292') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21119031]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] map_info['map_portfolio_photo'] : {21119031: [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524, 1341267509, 1341267407, 1341267402, 1341267380, 1341267371, 1341267367, 1341267318, 1341267247, 1341267244, 1341267036, 1341267005, 1341266999, 1341266993, 1341266983, 1341266979, 1341266974, 1341266921, 1341266918, 1341266914, 1341266905, 1341266898]} final : False mtd_id 4302 list_pids : [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] 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, '2643399') ('4302', '21119031', '1341268325', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399') 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', '21119031', '1341268325', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399')] time used for this insertion : 0.40976381301879883 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.256399154663086 time spend to save output : 0.4103069305419922 total time spend for step 4 : 5.666706085205078 step5:split_time_score Fri Mar 7 03:19:36 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 : ['21119031'] 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 : [('21119031',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21119031) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1341268291: {'path': 'temp/1741313970_712307_1341268291_63e2c5c379f93c53f8cff46d77b13781.jpg', 'extension': 'jpg'}, 1341268313: {'path': 'temp/1741313970_712307_1341268313_671bbff2a49af2b13b8d65a614234246.jpg', 'extension': 'jpg'}, 1341268318: {'path': 'temp/1741313970_712307_1341268318_039fc9cade61550ce7e5ada735cf2383.jpg', 'extension': 'jpg'}, 1341268322: {'path': 'temp/1741313970_712307_1341268322_df4ebc19f1feb94bea7bf0cb40887c71.jpg', 'extension': 'jpg'}, 1341268325: {'path': 'temp/1741313970_712307_1341268325_1c02a3b81b17a414fe34702d72d3264d.jpg', 'extension': 'jpg'}, 1341267524: {'path': 'temp/1741313970_712307_1341267524_f315762a001d676aa7b0c1cb2a3381d0.jpg', 'extension': 'jpg'}, 1341267535: {'path': 'temp/1741313970_712307_1341267535_07bfed517b9925d22ad65a487193a7d3.jpg', 'extension': 'jpg'}, 1341267545: {'path': 'temp/1741313970_712307_1341267545_46d8617c19fe592e03b7fb1e52bdf856.jpg', 'extension': 'jpg'}, 1341267551: {'path': 'temp/1741313970_712307_1341267551_324052d3078cb39d52e2a42ca001c729.jpg', 'extension': 'jpg'}, 1341267554: {'path': 'temp/1741313970_712307_1341267554_31ddb54ca8287844db8eeb7545b0e5b6.jpg', 'extension': 'jpg'}, 1341267557: {'path': 'temp/1741313970_712307_1341267557_a9d168b15a36738f6bbed58f2f7b002a.jpg', 'extension': 'jpg'}, 1341267586: {'path': 'temp/1741313970_712307_1341267586_75923da8342ecf77d538a9166d8e5108.jpg', 'extension': 'jpg'}, 1341267587: {'path': 'temp/1741313970_712307_1341267587_78d884ce2ef2555817076061cf26b76d.jpg', 'extension': 'jpg'}, 1341267614: {'path': 'temp/1741313970_712307_1341267614_64b5e3282e6af5a1e24113e033f8b56f.jpg', 'extension': 'jpg'}, 1341267872: {'path': 'temp/1741313970_712307_1341267872_13fe1ea6ed19020ea07974508497dd5c.jpg', 'extension': 'jpg'}, 1341267977: {'path': 'temp/1741313970_712307_1341267977_85e27494d76275dcae52dd3f67ab00e4.jpg', 'extension': 'jpg'}, 1341267980: {'path': 'temp/1741313970_712307_1341267980_6a4ecb05614dd51bfec31fd474370563.jpg', 'extension': 'jpg'}, 1341267985: {'path': 'temp/1741313970_712307_1341267985_634a864c148bb3820eaaa92710212d17.jpg', 'extension': 'jpg'}, 1341268019: {'path': 'temp/1741313970_712307_1341268019_e1b491a5b64c54672d762abb2a6be9c0.jpg', 'extension': 'jpg'}, 1341268022: {'path': 'temp/1741313970_712307_1341268022_bbdf5143623c62ef9fd6dd1060205c38.jpg', 'extension': 'jpg'}, 1341268033: {'path': 'temp/1741313970_712307_1341268033_3a21fa19020b90812d508f64659805d5.jpg', 'extension': 'jpg'}, 1341268126: {'path': 'temp/1741313970_712307_1341268126_7b80a0a753ab6924e63f88e64bb4e93a.jpg', 'extension': 'jpg'}, 1341268130: {'path': 'temp/1741313970_712307_1341268130_2a561fbaf5fe420fe35e1074eee5013c.jpg', 'extension': 'jpg'}, 1341268133: {'path': 'temp/1741313970_712307_1341268133_0bf2c361fe717c5dd4e0232207bdfffd.jpg', 'extension': 'jpg'}, 1341268145: {'path': 'temp/1741313970_712307_1341268145_347532259ee94c3f2c9634c765a68661.jpg', 'extension': 'jpg'}, 1341268154: {'path': 'temp/1741313970_712307_1341268154_ae15194ddb8e6fcef67975eddf9da7c3.jpg', 'extension': 'jpg'}, 1341268161: {'path': 'temp/1741313970_712307_1341268161_284aac968935bfa6bcf983b63d0b506d.jpg', 'extension': 'jpg'}, 1341268173: {'path': 'temp/1741313970_712307_1341268173_447ef4383a49e53df6c5cf0d38112b8b.jpg', 'extension': 'jpg'}, 1341268202: {'path': 'temp/1741313970_712307_1341268202_626e7f4f7756d24f4a6bdcda2c3f7c4f.jpg', 'extension': 'jpg'}, 1341268212: {'path': 'temp/1741313970_712307_1341268212_0ee8b8353c9eb81c6247be76bcd2c479.jpg', 'extension': 'jpg'}, 1341268282: {'path': 'temp/1741313970_712307_1341268282_6fcfdb214c7749498b889aa9922d262a.jpg', 'extension': 'jpg'}, 1341268286: {'path': 'temp/1741313970_712307_1341268286_bd78de49fb681d7448d2e4f73deeefd0.jpg', 'extension': 'jpg'}, 1341267630: {'path': 'temp/1741313970_712307_1341267630_64e3f259f27e92aa94f4ac759ddf0c66.jpg', 'extension': 'jpg'}, 1341267634: {'path': 'temp/1741313970_712307_1341267634_754d1c4e329e6b5b6b139084e594fe6f.jpg', 'extension': 'jpg'}, 1341267658: {'path': 'temp/1741313970_712307_1341267658_957a2ffa62edc975c95fc7413d373e05.jpg', 'extension': 'jpg'}, 1341267662: {'path': 'temp/1741313970_712307_1341267662_536b5a888c6f9cc65c0c2ba6d5385723.jpg', 'extension': 'jpg'}, 1341267668: {'path': 'temp/1741313970_712307_1341267668_e9cc857a11004a02b47d85c2dee719d7.jpg', 'extension': 'jpg'}, 1341267740: {'path': 'temp/1741313970_712307_1341267740_99b523fd0a29a0985923d874010087a9.jpg', 'extension': 'jpg'}, 1341267745: {'path': 'temp/1741313970_712307_1341267745_c6f5db83ada5064a17a9405780141362.jpg', 'extension': 'jpg'}, 1341267761: {'path': 'temp/1741313970_712307_1341267761_4823759587c09cbc9e5bee8cb22e302f.jpg', 'extension': 'jpg'}, 1341267868: {'path': 'temp/1741313970_712307_1341267868_f84bb42c8c6432bafe8e2b6afdf8e1ac.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 = 21119031; (('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 = 21119031 group by h (('16', 62),) 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=21119031 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 (21119031) 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 (21119031) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 06032025 21119031 Nombre de photos uploadées : 62 / 23040 (0%) 06032025 21119031 Nombre de photos taguées (types de déchets): 0 / 62 (0%) 06032025 21119031 Nombre de photos taguées (volume) : 0 / 62 (0%) [{'photo_id': 1341268325, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/1c02a3b81b17a414fe34702d72d3264d.jpg', 'username': None, 'uploaded_at': 1741278627, 'text': 'image_06032025_16_15_04_10147.jpg'}, {'photo_id': 1341268322, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/df4ebc19f1feb94bea7bf0cb40887c71.jpg', 'username': None, 'uploaded_at': 1741278627, 'text': 'image_06032025_16_15_14_10140.jpg'}, {'photo_id': 1341268318, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/039fc9cade61550ce7e5ada735cf2383.jpg', 'username': None, 'uploaded_at': 1741278627, 'text': 'image_06032025_16_15_24_10136.jpg'}, {'photo_id': 1341268313, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/6/671bbff2a49af2b13b8d65a614234246.jpg', 'username': None, 'uploaded_at': 1741278627, 'text': 'image_06032025_16_15_34_10140.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 8.106231689453125e-06 ?????????????????????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0029273033142089844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21119031, '2025-03-06' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1643118,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.030069351196289062 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= 1643118 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21089189, 'dashboard_result_id': 9280880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_06-03-2025_00_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21089816, 'dashboard_result_id': 9280881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_06-03-2025_00_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21090352, 'dashboard_result_id': 9280882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_06-03-2025_00_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21090945, 'dashboard_result_id': 9280883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_06-03-2025_01_02_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21092289, 'dashboard_result_id': 9280884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_06-03-2025_01_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21092977, 'dashboard_result_id': 9280885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_06-03-2025_02_09_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21093291, 'dashboard_result_id': 9280886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_06-03-2025_02_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21093935, 'dashboard_result_id': 9280887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_06-03-2025_02_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21094390, 'dashboard_result_id': 9280888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_06-03-2025_02_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21095280, 'dashboard_result_id': 9280889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_06-03-2025_03_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21095667, 'dashboard_result_id': 9280890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_06-03-2025_03_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21096248, 'dashboard_result_id': 9280891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_06-03-2025_03_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21096666, 'dashboard_result_id': 9280892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_06-03-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21097374, 'dashboard_result_id': 9280893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_18_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21098051, 'dashboard_result_id': 9280894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_06-03-2025_04_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21098769, 'dashboard_result_id': 9280895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_06-03-2025_05_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21099782, 'dashboard_result_id': 9280896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_06-03-2025_05_19_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21099976, 'dashboard_result_id': 9280897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_06-03-2025_05_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21100547, 'dashboard_result_id': 9280898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_06-03-2025_05_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21101038, 'dashboard_result_id': 9280899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_06-03-2025_06_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21101489, 'dashboard_result_id': 9280900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_06-03-2025_06_19_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21102170, 'dashboard_result_id': 9280901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_06-03-2025_06_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21102865, 'dashboard_result_id': 9280902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_06-03-2025_06_52_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21103797, 'dashboard_result_id': 9280903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_06-03-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21104322, 'dashboard_result_id': 9280904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_06-03-2025_07_22_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21104678, 'dashboard_result_id': 9280905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_06-03-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21105437, 'dashboard_result_id': 9280906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_06-03-2025_07_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21106093, 'dashboard_result_id': 9280907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_06-03-2025_08_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21106656, 'dashboard_result_id': 9280908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_06-03-2025_08_19_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21107494, 'dashboard_result_id': 9280909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_06-03-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21108337, 'dashboard_result_id': 9280910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_06-03-2025_08_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21109218, 'dashboard_result_id': 9280911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_06-03-2025_09_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21110844, 'dashboard_result_id': 9280912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_06-03-2025_09_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21111209, 'dashboard_result_id': 9280913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_06-03-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21111884, 'dashboard_result_id': 9280914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_06-03-2025_10_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21112480, 'dashboard_result_id': 9280915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_06-03-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21113008, 'dashboard_result_id': 9280916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_06-03-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21114013, 'dashboard_result_id': 9280917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_06-03-2025_11_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21117388, 'dashboard_result_id': 9280918, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_06-03-2025_13_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21117674, 'dashboard_result_id': 9280919, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_06-03-2025_13_38_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133287, 'dashboard_result_id': 9280920, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133288, 'dashboard_result_id': 9280921, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133289, 'dashboard_result_id': 9280922, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133290, 'dashboard_result_id': 9280923, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133291, 'dashboard_result_id': 9280924, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133292, 'dashboard_result_id': 9280925, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133293, 'dashboard_result_id': 9280926, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133294, 'dashboard_result_id': 9280927, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': ''}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133295, 'dashboard_result_id': 9280928, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_03_19_02.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21133296, 'dashboard_result_id': 9280929, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_03_18_35.pdf'}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21119031, 'dashboard_result_id': 9280930, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_06-03-2025_17_25_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118295, 'dashboard_result_id': 9280931, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_06-03-2025_17_23_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118076, 'dashboard_result_id': 9280932, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_06-03-2025_17_09_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118079, 'dashboard_result_id': 9280933, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_06-03-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21118816, 'dashboard_result_id': 9280934, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_06-03-2025_18_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21120709, 'dashboard_result_id': 9280935, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_06-03-2025_18_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21121041, 'dashboard_result_id': 9280936, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_06-03-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21121351, 'dashboard_result_id': 9280937, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_06-03-2025_18_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21121836, 'dashboard_result_id': 9280938, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_06-03-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21122791, 'dashboard_result_id': 9280939, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21123460, 'dashboard_result_id': 9280940, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21124323, 'dashboard_result_id': 9280941, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21124985, 'dashboard_result_id': 9280942, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_20_02_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21126060, 'dashboard_result_id': 9280943, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_06-03-2025_20_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21127175, 'dashboard_result_id': 9280944, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21127177, 'dashboard_result_id': 9280945, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}"}, {'dashboat_entry_day': 1643118, 'dashboard_run_id': 1653819, 'mtr_portfolio_id': 21128421, 'dashboard_result_id': 9280946, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, '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 = 21089189 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640536, 'mtr_portfolio_id': 21089189, 'created_at': datetime.datetime(2025, 3, 6, 0, 18, 59), 'result': '0.06305446371077963', 'result_long': None, 'result_double': None}] Qualite : 0.06305446371077963 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21089189 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_06-03-2025_00_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089189 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_06-03-2025_00_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}" where mtr_portfolio_id = 21089189 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089189 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280880, 0.06305446371077963, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089189_06-03-2025_00_19_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089228, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089229, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089232, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089234, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089235, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089238, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21089816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640627, 'mtr_portfolio_id': 21089816, 'created_at': datetime.datetime(2025, 3, 6, 0, 33), 'result': '0.0699341960421346', 'result_long': None, 'result_double': None}] Qualite : 0.0699341960421346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21089816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_06-03-2025_00_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21089816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_06-03-2025_00_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}" where mtr_portfolio_id = 21089816 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21089816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280881, 0.0699341960421346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21089816_06-03-2025_00_33_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21089842, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21089843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21089844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21089845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21089846, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21089847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21089848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21089849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21089850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21089851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21089852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21089853, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21090352 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640658, 'mtr_portfolio_id': 21090352, 'created_at': datetime.datetime(2025, 3, 6, 0, 48, 59), 'result': '0.06312611894722145', 'result_long': None, 'result_double': None}] Qualite : 0.06312611894722145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21090352 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_06-03-2025_00_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21090352 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_06-03-2025_00_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}" where mtr_portfolio_id = 21090352 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21090352 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280882, 0.06312611894722145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090352_06-03-2025_00_49_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090390, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090394, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090395, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090396, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090397, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090399, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090400, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090401, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21090945 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640687, 'mtr_portfolio_id': 21090945, 'created_at': datetime.datetime(2025, 3, 6, 1, 2, 31), 'result': '0.05965651501164085', 'result_long': None, 'result_double': None}] Qualite : 0.05965651501164085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21090945 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_06-03-2025_01_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21090945 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_06-03-2025_01_02_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}" where mtr_portfolio_id = 21090945 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21090945 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280883, 0.05965651501164085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21090945_06-03-2025_01_02_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21090950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21090951, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21090952, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21090953, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21090954, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21090955, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21090956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21090957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21090958, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21090959, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21090960, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21090961, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21092289 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640788, 'mtr_portfolio_id': 21092289, 'created_at': datetime.datetime(2025, 3, 6, 1, 48, 57), 'result': '0.07581426395453421', 'result_long': None, 'result_double': None}] Qualite : 0.07581426395453421 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21092289 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_06-03-2025_01_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21092289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_06-03-2025_01_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}" where mtr_portfolio_id = 21092289 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21092289 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280884, 0.07581426395453421, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092289_06-03-2025_01_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092294, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092295, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092296, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092297, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092298, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092300, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21092977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640824, 'mtr_portfolio_id': 21092977, 'created_at': datetime.datetime(2025, 3, 6, 2, 9, 27), 'result': '0.07029094901718938', 'result_long': None, 'result_double': None}] Qualite : 0.07029094901718938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21092977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_06-03-2025_02_09_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21092977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_06-03-2025_02_09_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}" where mtr_portfolio_id = 21092977 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21092977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280885, 0.07029094901718938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21092977_06-03-2025_02_09_28.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21092978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21092979, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21092980, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21092981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21092982, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21092983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21092984, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21092985, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21092986, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21092987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21092988, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21092989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21093291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640852, 'mtr_portfolio_id': 21093291, 'created_at': datetime.datetime(2025, 3, 6, 2, 18, 59), 'result': '0.06007997936059115', 'result_long': None, 'result_double': None}] Qualite : 0.06007997936059115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21093291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_06-03-2025_02_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21093291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_06-03-2025_02_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}" where mtr_portfolio_id = 21093291 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21093291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280886, 0.06007997936059115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093291_06-03-2025_02_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093317, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093318, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093319, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093320, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093321, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093323, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093325, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093326, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093327, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093328, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21093935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640902, 'mtr_portfolio_id': 21093935, 'created_at': datetime.datetime(2025, 3, 6, 2, 33), 'result': '0.07780601694395353', 'result_long': None, 'result_double': None}] Qualite : 0.07780601694395353 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21093935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_06-03-2025_02_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21093935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_06-03-2025_02_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}" where mtr_portfolio_id = 21093935 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21093935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280887, 0.07780601694395353, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21093935_06-03-2025_02_33_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21093938, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21093939, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21093940, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21093941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21093942, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21093943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21093944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21093945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21093946, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21093947, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21093948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21093949, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21094390 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640934, 'mtr_portfolio_id': 21094390, 'created_at': datetime.datetime(2025, 3, 6, 2, 49), 'result': '0.06467489843338833', 'result_long': None, 'result_double': None}] Qualite : 0.06467489843338833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21094390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_06-03-2025_02_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21094390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_06-03-2025_02_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}" where mtr_portfolio_id = 21094390 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21094390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280888, 0.06467489843338833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21094390_06-03-2025_02_49_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21094477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21094478, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21094479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21094480, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21094481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21094482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21094483, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21094484, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21094485, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21094486, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21094487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21094488, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21095280 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640995, 'mtr_portfolio_id': 21095280, 'created_at': datetime.datetime(2025, 3, 6, 3, 18, 56), 'result': '0.07121593442959993', 'result_long': None, 'result_double': None}] Qualite : 0.07121593442959993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21095280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_06-03-2025_03_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21095280 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_06-03-2025_03_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}" where mtr_portfolio_id = 21095280 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21095280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280889, 0.07121593442959993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095280_06-03-2025_03_18_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21095283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095284, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095286, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095288, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095290, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095292, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095294, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21095667 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641027, 'mtr_portfolio_id': 21095667, 'created_at': datetime.datetime(2025, 3, 6, 3, 32, 30), 'result': '0.07765793840663125', 'result_long': None, 'result_double': None}] Qualite : 0.07765793840663125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21095667 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_06-03-2025_03_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21095667 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_06-03-2025_03_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}" where mtr_portfolio_id = 21095667 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21095667 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280890, 0.07765793840663125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21095667_06-03-2025_03_32_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21095722, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21095723, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21095724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21095725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21095726, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21095727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21095728, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21095729, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21095730, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21095731, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21095732, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21095733, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21096248 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641065, 'mtr_portfolio_id': 21096248, 'created_at': datetime.datetime(2025, 3, 6, 3, 48, 58), 'result': '0.08483617167472522', 'result_long': None, 'result_double': None}] Qualite : 0.08483617167472522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_06-03-2025_03_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_06-03-2025_03_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}" where mtr_portfolio_id = 21096248 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21096248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280891, 0.08483617167472522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096248_06-03-2025_03_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21096251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096253, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096254, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096255, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096256, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096261, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096262, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21096666 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641098, 'mtr_portfolio_id': 21096666, 'created_at': datetime.datetime(2025, 3, 6, 4, 2, 57), 'result': '0.07087514429443435', 'result_long': None, 'result_double': None}] Qualite : 0.07087514429443435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21096666 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_06-03-2025_04_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21096666 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_06-03-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}" where mtr_portfolio_id = 21096666 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21096666 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280892, 0.07087514429443435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21096666_06-03-2025_04_02_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21096719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21096720, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21096721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21096722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21096723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21096724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21096725, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21096726, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21096727, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21096728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21096729, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21096730, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21097374 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641154, 'mtr_portfolio_id': 21097374, 'created_at': datetime.datetime(2025, 3, 6, 4, 18, 57), 'result': '0.07254377698975602', 'result_long': None, 'result_double': None}] Qualite : 0.07254377698975602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21097374 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21097374 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_18_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}" where mtr_portfolio_id = 21097374 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21097374 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280893, 0.07254377698975602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21097374_06-03-2025_04_18_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21097405, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21097406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21097407, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21097408, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21097409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21097410, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21097411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21097412, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21097413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21097414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21097415, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21097416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21098051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641204, 'mtr_portfolio_id': 21098051, 'created_at': datetime.datetime(2025, 3, 6, 4, 32, 59), 'result': '0.0631526595977135', 'result_long': None, 'result_double': None}] Qualite : 0.0631526595977135 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21098051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_06-03-2025_04_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21098051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_06-03-2025_04_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}" where mtr_portfolio_id = 21098051 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21098051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280894, 0.0631526595977135, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098051_06-03-2025_04_33_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098104, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098105, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098106, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098110, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098111, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098113, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098114, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098115, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21098769 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641251, 'mtr_portfolio_id': 21098769, 'created_at': datetime.datetime(2025, 3, 6, 5, 3), 'result': '0.053467148497346025', 'result_long': None, 'result_double': None}] Qualite : 0.053467148497346025 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21098769 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_06-03-2025_05_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21098769 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_06-03-2025_05_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}" where mtr_portfolio_id = 21098769 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21098769 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280895, 0.053467148497346025, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21098769_06-03-2025_05_03_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21098774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21098775, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21098776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21098777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21098778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21098779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21098780, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21098781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21098782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21098783, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21098784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21098785, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21099782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641319, 'mtr_portfolio_id': 21099782, 'created_at': datetime.datetime(2025, 3, 6, 5, 19, 30), 'result': '0.04458441748302693', 'result_long': None, 'result_double': None}] Qualite : 0.04458441748302693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21099782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_06-03-2025_05_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21099782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_06-03-2025_05_19_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}" where mtr_portfolio_id = 21099782 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21099782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280896, 0.04458441748302693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099782_06-03-2025_05_19_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21099787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21099788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21099789, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21099790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21099791, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21099792, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21099793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21099794, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21099795, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21099796, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21099797, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21099798, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21099976 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641330, 'mtr_portfolio_id': 21099976, 'created_at': datetime.datetime(2025, 3, 6, 5, 32, 59), 'result': '0.058771923395085565', 'result_long': None, 'result_double': None}] Qualite : 0.058771923395085565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21099976 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_06-03-2025_05_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21099976 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_06-03-2025_05_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}" where mtr_portfolio_id = 21099976 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21099976 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280897, 0.058771923395085565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21099976_06-03-2025_05_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100028, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100030, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100032, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100033, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100037, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100038, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21100547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641490, 'mtr_portfolio_id': 21100547, 'created_at': datetime.datetime(2025, 3, 6, 5, 48, 58), 'result': '0.06290498650131614', 'result_long': None, 'result_double': None}] Qualite : 0.06290498650131614 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21100547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_06-03-2025_05_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21100547 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_06-03-2025_05_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}" where mtr_portfolio_id = 21100547 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21100547 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280898, 0.06290498650131614, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21100547_06-03-2025_05_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21100550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21100551, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21100552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21100553, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21100554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21100555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21100556, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21100557, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21100558, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21100559, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21100560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21100561, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21101038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641524, 'mtr_portfolio_id': 21101038, 'created_at': datetime.datetime(2025, 3, 6, 6, 5, 30), 'result': '0.05738370877211561', 'result_long': None, 'result_double': None}] Qualite : 0.05738370877211561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21101038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_06-03-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21101038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_06-03-2025_06_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}" where mtr_portfolio_id = 21101038 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21101038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280899, 0.05738370877211561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101038_06-03-2025_06_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101041, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101042, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101044, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101047, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101048, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101049, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101051, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101052, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21101489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641567, 'mtr_portfolio_id': 21101489, 'created_at': datetime.datetime(2025, 3, 6, 6, 19, 32), 'result': '0.06923022963697777', 'result_long': None, 'result_double': None}] Qualite : 0.06923022963697777 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21101489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_06-03-2025_06_19_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21101489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_06-03-2025_06_19_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}" where mtr_portfolio_id = 21101489 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21101489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280900, 0.06923022963697777, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21101489_06-03-2025_06_19_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21101554, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21101555, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21101556, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21101557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21101558, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21101559, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21101560, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21101561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21101562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21101563, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21101564, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21101565, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21102170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641605, 'mtr_portfolio_id': 21102170, 'created_at': datetime.datetime(2025, 3, 6, 6, 32, 59), 'result': '0.07524477265101093', 'result_long': None, 'result_double': None}] Qualite : 0.07524477265101093 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21102170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_06-03-2025_06_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21102170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_06-03-2025_06_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}" where mtr_portfolio_id = 21102170 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21102170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280901, 0.07524477265101093, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102170_06-03-2025_06_33_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102225, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102235, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21102865 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641653, 'mtr_portfolio_id': 21102865, 'created_at': datetime.datetime(2025, 3, 6, 6, 52, 59), 'result': '0.07225996259730565', 'result_long': None, 'result_double': None}] Qualite : 0.07225996259730565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21102865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_06-03-2025_06_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21102865 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_06-03-2025_06_52_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}" where mtr_portfolio_id = 21102865 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21102865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280902, 0.07225996259730565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21102865_06-03-2025_06_52_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21102930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21102931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21102932, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21102933, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21102934, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21102935, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21102936, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21102937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21102938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21102939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21102940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21102941, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21103797 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641699, 'mtr_portfolio_id': 21103797, 'created_at': datetime.datetime(2025, 3, 6, 7, 2, 58), 'result': '0.05778428571925085', 'result_long': None, 'result_double': None}] Qualite : 0.05778428571925085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21103797 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_06-03-2025_07_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21103797 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_06-03-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}" where mtr_portfolio_id = 21103797 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21103797 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280903, 0.05778428571925085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21103797_06-03-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21103801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21103802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21103803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21103804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21103805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21103806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21103807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21103808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21103809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21103810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21103811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21103812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21104322 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641785, 'mtr_portfolio_id': 21104322, 'created_at': datetime.datetime(2025, 3, 6, 7, 22, 57), 'result': '0.06517772498512861', 'result_long': None, 'result_double': None}] Qualite : 0.06517772498512861 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21104322 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_06-03-2025_07_22_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21104322 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_06-03-2025_07_22_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}" where mtr_portfolio_id = 21104322 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21104322 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280904, 0.06517772498512861, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104322_06-03-2025_07_22_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104327, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104328, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104333, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104335, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104336, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104338, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21104678 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641812, 'mtr_portfolio_id': 21104678, 'created_at': datetime.datetime(2025, 3, 6, 7, 32, 59), 'result': '0.06467233748992611', 'result_long': None, 'result_double': None}] Qualite : 0.06467233748992611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21104678 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_06-03-2025_07_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21104678 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_06-03-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}" where mtr_portfolio_id = 21104678 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21104678 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280905, 0.06467233748992611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21104678_06-03-2025_07_32_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21104720, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21104721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21104722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21104723, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21104724, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21104725, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21104726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21104727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21104728, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21104729, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21104730, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21104731, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21105437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641862, 'mtr_portfolio_id': 21105437, 'created_at': datetime.datetime(2025, 3, 6, 7, 49), 'result': '0.07293368007084029', 'result_long': None, 'result_double': None}] Qualite : 0.07293368007084029 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21105437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_06-03-2025_07_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21105437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_06-03-2025_07_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}" where mtr_portfolio_id = 21105437 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21105437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280906, 0.07293368007084029, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21105437_06-03-2025_07_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21105475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21105482, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21105484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21105485, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21105486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21105487, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21105488, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21105489, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21105490, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21105491, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21105492, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21105497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21106093 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641901, 'mtr_portfolio_id': 21106093, 'created_at': datetime.datetime(2025, 3, 6, 8, 2, 57), 'result': '0.06215558562207161', 'result_long': None, 'result_double': None}] Qualite : 0.06215558562207161 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21106093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_06-03-2025_08_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21106093 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_06-03-2025_08_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}" where mtr_portfolio_id = 21106093 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21106093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280907, 0.06215558562207161, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106093_06-03-2025_08_02_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106104, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106106, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106107, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106108, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106109, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106110, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21106656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641977, 'mtr_portfolio_id': 21106656, 'created_at': datetime.datetime(2025, 3, 6, 8, 19, 4), 'result': '0.054759828686366765', 'result_long': None, 'result_double': None}] Qualite : 0.054759828686366765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21106656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_06-03-2025_08_19_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21106656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_06-03-2025_08_19_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}" where mtr_portfolio_id = 21106656 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21106656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280908, 0.054759828686366765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21106656_06-03-2025_08_19_05.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21106663, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21106664, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21106665, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21106666, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21106667, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21106668, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21106669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21106670, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21106671, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21106672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21106673, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21106674, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21107494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642064, 'mtr_portfolio_id': 21107494, 'created_at': datetime.datetime(2025, 3, 6, 8, 32, 57), 'result': '0.05936012634514975', 'result_long': None, 'result_double': None}] Qualite : 0.05936012634514975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21107494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_06-03-2025_08_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21107494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_06-03-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}" where mtr_portfolio_id = 21107494 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21107494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280909, 0.05936012634514975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21107494_06-03-2025_08_32_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21107501, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21107502, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21107503, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21107504, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21107505, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21107506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21107507, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21107508, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21107509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21107510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21107511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21107512, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21108337 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642207, 'mtr_portfolio_id': 21108337, 'created_at': datetime.datetime(2025, 3, 6, 8, 49, 1), 'result': '0.054750353319182425', 'result_long': None, 'result_double': None}] Qualite : 0.054750353319182425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21108337 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_06-03-2025_08_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21108337 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_06-03-2025_08_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}" where mtr_portfolio_id = 21108337 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21108337 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280910, 0.054750353319182425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21108337_06-03-2025_08_49_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21108359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21108361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21108362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21108363, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21108364, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21108365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21108366, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21108367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21108368, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21108369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21108370, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21109218 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642449, 'mtr_portfolio_id': 21109218, 'created_at': datetime.datetime(2025, 3, 6, 9, 2, 57), 'result': '0.05735559781598683', 'result_long': None, 'result_double': None}] Qualite : 0.05735559781598683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21109218 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_06-03-2025_09_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21109218 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_06-03-2025_09_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}" where mtr_portfolio_id = 21109218 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21109218 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280911, 0.05735559781598683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21109218_06-03-2025_09_02_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21109322, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21109323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21109324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21109325, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21109326, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21109327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21109328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21109329, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21109330, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21109331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21109332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21109333, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21110844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642579, 'mtr_portfolio_id': 21110844, 'created_at': datetime.datetime(2025, 3, 6, 9, 48, 57), 'result': '0.05691923899128756', 'result_long': None, 'result_double': None}] Qualite : 0.05691923899128756 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21110844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_06-03-2025_09_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21110844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_06-03-2025_09_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}" where mtr_portfolio_id = 21110844 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21110844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280912, 0.05691923899128756, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21110844_06-03-2025_09_48_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21110848, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21110849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21110850, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21110851, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21110852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21110853, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21110854, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21110855, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21110856, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21110857, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21110858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21110859, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21111209 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642618, 'mtr_portfolio_id': 21111209, 'created_at': datetime.datetime(2025, 3, 6, 10, 3), 'result': '0.05443786496960303', 'result_long': None, 'result_double': None}] Qualite : 0.05443786496960303 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21111209 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_06-03-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21111209 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_06-03-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}" where mtr_portfolio_id = 21111209 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21111209 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280913, 0.05443786496960303, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111209_06-03-2025_10_03_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111218, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111220, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111221, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111225, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111226, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111229, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21111884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642674, 'mtr_portfolio_id': 21111884, 'created_at': datetime.datetime(2025, 3, 6, 10, 19, 1), 'result': '0.07867521162819505', 'result_long': None, 'result_double': None}] Qualite : 0.07867521162819505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21111884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_06-03-2025_10_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21111884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_06-03-2025_10_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}" where mtr_portfolio_id = 21111884 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21111884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280914, 0.07867521162819505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21111884_06-03-2025_10_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21111889, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21111890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21111891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21111892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21111893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21111894, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21111895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21111896, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21111897, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21111898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21111899, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21111900, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21112480 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642712, 'mtr_portfolio_id': 21112480, 'created_at': datetime.datetime(2025, 3, 6, 10, 32, 57), 'result': '0.07802342521236075', 'result_long': None, 'result_double': None}] Qualite : 0.07802342521236075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21112480 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_06-03-2025_10_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21112480 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_06-03-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}" where mtr_portfolio_id = 21112480 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21112480 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280915, 0.07802342521236075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21112480_06-03-2025_10_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21112483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21112484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21112485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21112486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21112487, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21112488, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21112489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21112490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21112491, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21112492, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21112493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21112494, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21113008 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642767, 'mtr_portfolio_id': 21113008, 'created_at': datetime.datetime(2025, 3, 6, 10, 49), 'result': '0.06924745280902125', 'result_long': None, 'result_double': None}] Qualite : 0.06924745280902125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21113008 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_06-03-2025_10_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21113008 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_06-03-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}" where mtr_portfolio_id = 21113008 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21113008 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280916, 0.06924745280902125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21113008_06-03-2025_10_49_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21113015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21113016, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21113017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21113018, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21113019, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21113020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21113021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21113022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21113023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21113024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21113025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21113026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21114013 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2642830, 'mtr_portfolio_id': 21114013, 'created_at': datetime.datetime(2025, 3, 6, 11, 2, 58), 'result': '0.0563860442997638', 'result_long': None, 'result_double': None}] Qualite : 0.0563860442997638 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21114013 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_06-03-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21114013 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_06-03-2025_11_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}" where mtr_portfolio_id = 21114013 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21114013 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280917, 0.0563860442997638, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21114013_06-03-2025_11_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21114017, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21114018, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21114019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21114020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21114021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21114022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21114023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21114024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21114025, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21114026, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21114027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21114028, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21117388 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2643128, 'mtr_portfolio_id': 21117388, 'created_at': datetime.datetime(2025, 3, 6, 13, 32, 30), 'result': '0.05307519415755956', 'result_long': None, 'result_double': None}] Qualite : 0.05307519415755956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21117388 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_06-03-2025_13_32_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21117388 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_06-03-2025_13_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}" where mtr_portfolio_id = 21117388 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21117388 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280918, 0.05307519415755956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117388_06-03-2025_13_32_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117396, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117399, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117401, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117403, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117404, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21117674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2643147, 'mtr_portfolio_id': 21117674, 'created_at': datetime.datetime(2025, 3, 6, 13, 38, 58), 'result': '0.0805400732785383', 'result_long': None, 'result_double': None}] Qualite : 0.0805400732785383 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21117674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_06-03-2025_13_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21117674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_06-03-2025_13_38_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}" where mtr_portfolio_id = 21117674 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21117674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280919, 0.0805400732785383, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21117674_06-03-2025_13_38_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21117677, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21117678, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21117679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21117680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21117681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21117682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21117683, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21117684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21117685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21117686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21117687, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21117688, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133287 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 = 21133287 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133287 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133287%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133287 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133288 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 = 21133288 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133288 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133288%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133288 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133288 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133289 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 = 21133289 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133289 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133289%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133289 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133289 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133290 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 = 21133290 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133290 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133290%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133290 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133290 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133291 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 = 21133291 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133291 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133291%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133291 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133292 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 = 21133292 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133292 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133292%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133292 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133292 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133293 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 = 21133293 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133293 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133293%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133293 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133293 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133294 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 = 21133294 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21133294 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%21133294%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133294 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': ''}" where mtr_portfolio_id = 21133294 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 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 = 21133295 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 = 21133295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133295 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 = 21133295 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 = 21133295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_03_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133295_07-03-2025_03_19_02.pdf'}" where mtr_portfolio_id = 21133295 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 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 = 21133296 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 = 21133296 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21133296 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 = 21133296 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 = 21133296 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_03_18_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21133296 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21133296_07-03-2025_03_18_35.pdf'}" where mtr_portfolio_id = 21133296 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21119031 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2643399, 'mtr_portfolio_id': 21119031, 'created_at': datetime.datetime(2025, 3, 7, 3, 19, 30), 'result': '0.06676300509256292', 'result_long': None, 'result_double': None}] Qualite : 0.06676300509256292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21119031 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21119031 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}" where mtr_portfolio_id = 21119031 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21119031 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280930, 0.06676300509256292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21119031_07-03-2025_03_19_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21119095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21119096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21119097, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21119098, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21119099, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21119100, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21119101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21119102, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21119103, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21119104, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21119105, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21119106, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118295 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 = 21118295 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 = 21118295 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118295 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 = 21118295 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 = 21118295 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_06-03-2025_17_23_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118295 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118295_06-03-2025_17_23_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118338, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118340, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118341, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118342, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118343, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118344, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118346, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118347, 'pht': 3726}}" where mtr_portfolio_id = 21118295 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118076 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 = 21118076 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 = 21118076 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118076 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 = 21118076 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 = 21118076 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_06-03-2025_17_09_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118076 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118076_06-03-2025_17_09_06.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118122, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118124, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118125, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118126, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118128, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118132, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118133, 'pht': 3726}}" where mtr_portfolio_id = 21118076 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118079 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2643173, 'mtr_portfolio_id': 21118079, 'created_at': datetime.datetime(2025, 3, 6, 17, 18, 59), 'result': '0.05761263995900692', 'result_long': None, 'result_double': None}] Qualite : 0.05761263995900692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118079 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_06-03-2025_17_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118079 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_06-03-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}" where mtr_portfolio_id = 21118079 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21118079 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280933, 0.05761263995900692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118079_06-03-2025_17_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118096, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118099, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118101, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118102, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118103, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118104, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118106, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21118816 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2643337, 'mtr_portfolio_id': 21118816, 'created_at': datetime.datetime(2025, 3, 6, 18, 5, 30), 'result': '0.07423542956347538', 'result_long': None, 'result_double': None}] Qualite : 0.07423542956347538 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21118816 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_06-03-2025_18_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21118816 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_06-03-2025_18_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}" where mtr_portfolio_id = 21118816 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21118816 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280934, 0.07423542956347538, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21118816_06-03-2025_18_05_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21118869, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21118870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21118871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21118872, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21118873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21118874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21118875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21118876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21118877, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21118878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21118879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21118880, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21120709 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 = 21120709 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 = 21120709 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21120709 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 = 21120709 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 = 21120709 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_06-03-2025_18_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21120709 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21120709_06-03-2025_18_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21120716, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21120717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21120718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21120719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21120720, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21120721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21120722, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21120723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21120724, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21120725, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21120726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21120727, 'pht': 3726}}" where mtr_portfolio_id = 21120709 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121041 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 = 21121041 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 = 21121041 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121041 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 = 21121041 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 = 21121041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_06-03-2025_18_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121041_06-03-2025_18_32_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21121050, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121053, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121054, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121056, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121058, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121061, 'pht': 3726}}" where mtr_portfolio_id = 21121041 and dashboard_run_id = 1653819 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2644125, 'mtr_portfolio_id': 21121351, 'created_at': datetime.datetime(2025, 3, 6, 18, 48, 58), 'result': '0.09293500579274373', 'result_long': None, 'result_double': None}] Qualite : 0.09293500579274373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_06-03-2025_18_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_06-03-2025_18_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}" where mtr_portfolio_id = 21121351 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21121351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280937, 0.09293500579274373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121351_06-03-2025_18_48_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121353, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121356, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121357, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121358, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121362, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121363, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21121836 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2644332, 'mtr_portfolio_id': 21121836, 'created_at': datetime.datetime(2025, 3, 6, 19, 3), 'result': '0.07079598081798515', 'result_long': None, 'result_double': None}] Qualite : 0.07079598081798515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21121836 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_06-03-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21121836 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_06-03-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}" where mtr_portfolio_id = 21121836 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21121836 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280938, 0.07079598081798515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21121836_06-03-2025_19_03_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21121857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21121858, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21121859, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21121860, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21121861, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21121862, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21121863, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21121864, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21121865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21121866, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21121867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21121868, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21122791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2644726, 'mtr_portfolio_id': 21122791, 'created_at': datetime.datetime(2025, 3, 6, 19, 18, 57), 'result': '0.07052891195406308', 'result_long': None, 'result_double': None}] Qualite : 0.07052891195406308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21122791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21122791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}" where mtr_portfolio_id = 21122791 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21122791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280939, 0.07052891195406308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21122791_06-03-2025_19_18_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21122823, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21122824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21122825, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21122826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21122827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21122828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21122829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21122830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21122831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21122832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21122833, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21122834, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21123460 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2644924, 'mtr_portfolio_id': 21123460, 'created_at': datetime.datetime(2025, 3, 6, 19, 32, 59), 'result': '0.060882484143989515', 'result_long': None, 'result_double': None}] Qualite : 0.060882484143989515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21123460 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21123460 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}" where mtr_portfolio_id = 21123460 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21123460 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280940, 0.060882484143989515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21123460_06-03-2025_19_33_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21123514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21123515, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21123516, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21123517, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21123518, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21123519, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21123520, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21123521, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21123522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21123523, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21123524, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21123525, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21124323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645042, 'mtr_portfolio_id': 21124323, 'created_at': datetime.datetime(2025, 3, 6, 19, 48, 57), 'result': '0.06873884812445752', 'result_long': None, 'result_double': None}] Qualite : 0.06873884812445752 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}" where mtr_portfolio_id = 21124323 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21124323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280941, 0.06873884812445752, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124323_06-03-2025_19_48_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21124344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21124345, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21124346, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21124347, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21124348, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21124349, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21124350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21124351, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21124352, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21124353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21124354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21124355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21124985 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645166, 'mtr_portfolio_id': 21124985, 'created_at': datetime.datetime(2025, 3, 6, 20, 2, 32), 'result': '0.06245721235769244', 'result_long': None, 'result_double': None}] Qualite : 0.06245721235769244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21124985 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_20_02_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21124985 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_20_02_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}" where mtr_portfolio_id = 21124985 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21124985 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280942, 0.06245721235769244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21124985_06-03-2025_20_02_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21125079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21125080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21125081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21125082, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21125083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21125084, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21125085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21125086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21125087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21125088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21125089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21125090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21126060 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645311, 'mtr_portfolio_id': 21126060, 'created_at': datetime.datetime(2025, 3, 6, 20, 18, 56), 'result': '0.054046884490287966', 'result_long': None, 'result_double': None}] Qualite : 0.054046884490287966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21126060 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_06-03-2025_20_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21126060 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_06-03-2025_20_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}" where mtr_portfolio_id = 21126060 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21126060 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280943, 0.054046884490287966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21126060_06-03-2025_20_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21126079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21126080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21126081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21126082, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21126083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21126084, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21126085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21126086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21126087, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21126088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21126089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21126090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21127175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645456, 'mtr_portfolio_id': 21127175, 'created_at': datetime.datetime(2025, 3, 6, 20, 34, 58), 'result': '0.0861933982914169', 'result_long': None, 'result_double': None}] Qualite : 0.0861933982914169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21127175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21127175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}" where mtr_portfolio_id = 21127175 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280944, 0.0861933982914169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127175_06-03-2025_20_34_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21127184, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127186, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127187, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127190, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127192, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127193, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127195, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21127177 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645457, 'mtr_portfolio_id': 21127177, 'created_at': datetime.datetime(2025, 3, 6, 20, 50, 57), 'result': '0.0718712181856956', 'result_long': None, 'result_double': None}] Qualite : 0.0718712181856956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21127177 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21127177 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}" where mtr_portfolio_id = 21127177 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21127177 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280945, 0.0718712181856956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21127177_06-03-2025_20_50_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21127252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21127253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21127254, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21127255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21127256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21127257, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21127258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21127259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21127260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21127261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21127262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21127263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21128421 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2645738, 'mtr_portfolio_id': 21128421, 'created_at': datetime.datetime(2025, 3, 6, 21, 21), 'result': '0.15239529250984896', 'result_long': None, 'result_double': None}] Qualite : 0.15239529250984896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21128421 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21128421 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, 'pht': 3726}}" where mtr_portfolio_id = 21128421 and dashboard_run_id = 1653819 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21128421 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9280946, 0.15239529250984896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21128421_06-03-2025_21_21_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21128424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21128425, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21128426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21128427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21128428, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21128429, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21128430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21128431, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21128432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21128433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21128434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21128435, '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 (21089189,21089816,21090352,21090945,21092289,21092977,21093291,21093935,21094390,21095280,21095667,21096248,21096666,21097374,21098051,21098769,21099782,21099976,21100547,21101038,21101489,21102170,21102865,21103797,21104322,21104678,21105437,21106093,21106656,21107494,21108337,21109218,21110844,21111209,21111884,21112480,21113008,21114013,21117388,21117674,21133287,21133288,21133289,21133290,21133291,21133292,21133293,21133294,21133295,21133296,21119031,21118295,21118076,21118079,21118816,21120709,21121041,21121351,21121836,21122791,21123460,21124323,21124985,21126060,21127175,21127177,21128421) result : ((1341123137,), (1341123142,), (1341123146,), (1341123310,), (1341123393,), (1341123408,), (1341123415,), (1341123417,), (1341123535,), (1341123556,), (1341123566,), (1341123571,), (1341123574,), (1341123577,), (1341123592,), (1341123597,), (1341123601,), (1341123603,), (1341123624,), (1341123628,), (1341123632,), (1341123642,), (1341123687,), (1341123689,), (1341123692,), (1341123694,), (1341123713,), (1341123715,), (1341123722,), (1341123761,), (1341123763,), (1341123766,), (1341123787,), (1341123790,), (1341123792,), (1341123947,), (1341123960,), (1341123973,), (1341123979,), (1341123983,), (1341124005,), (1341124007,), (1341124010,), (1341124012,), (1341124038,), (1341124042,), (1341124047,), (1341124049,), (1341124252,), (1341124256,), (1341124260,), (1341124262,), (1341124263,), (1341124273,), (1341124276,), (1341124280,), (1341124287,), (1341124292,), (1341124363,), (1341124322,), (1341124337,), (1341124339,), (1341124342,), (1341124386,), (1341124391,), (1341124395,), (1341124435,), (1341124454,), (1341124463,), (1341124477,), (1341124618,), (1341124804,), (1341125014,), (1341125021,), (1341125049,), (1341125067,), (1341125082,), (1341125087,), (1341125106,), (1341125108,), (1341125148,), (1341125155,), (1341125163,), (1341125169,), (1341125174,), (1341125194,), (1341125236,), (1341125239,), (1341125241,), (1341125246,), (1341125248,), (1341125250,), (1341125269,), (1341125304,), (1341125306,), (1341125310,), (1341125719,), (1341125776,), (1341125779,), (1341125782,), (1341125853,), (1341125855,), (1341125859,), (1341126164,), (1341126262,), (1341126346,), (1341126349,), (1341126352,), (1341126354,), (1341126376,), (1341126378,), (1341126381,), (1341126413,), (1341126421,), (1341126424,), (1341126426,), (1341126428,), (1341126430,), (1341126465,), (1341126467,), (1341126471,), (1341126966,), (1341126978,), (1341126984,), (1341127149,), (1341127096,), (1341127128,), (1341127132,), (1341127171,), (1341127229,), (1341127233,), (1341127237,), (1341127241,), (1341127311,), (1341127357,), (1341127376,), (1341127380,), (1341127489,), (1341127542,), (1341127548,), (1341127550,), (1341127561,), (1341127564,), (1341127570,), (1341128147,), (1341128204,), (1341128249,), (1341128257,), (1341128272,), (1341128324,), (1341128434,), (1341128436,), (1341128441,), (1341128505,), (1341128507,), (1341128512,), (1341128519,), (1341128525,), (1341128545,), (1341128650,), (1341128655,), (1341128659,), (1341128696,), (1341128766,), (1341128768,), (1341128775,), (1341128778,), (1341128841,), (1341128848,), (1341128856,), (1341128873,), (1341128900,), (1341129383,), (1341129387,), (1341129390,), (1341129393,), (1341129395,), (1341129397,), (1341129517,), (1341129520,), (1341129524,), (1341129527,), (1341129593,), (1341129598,), (1341129603,), (1341129612,), (1341129636,), (1341129645,), (1341129653,), (1341129658,), (1341129661,), (1341129687,), (1341129675,), (1341129677,), (1341129682,), (1341129713,), (1341129726,), (1341129736,), (1341129739,), (1341129742,), (1341129745,), (1341129782,), (1341129785,), (1341129790,), (1341129875,), (1341130680,), (1341130682,), (1341130695,), (1341130699,), (1341131135,), (1341131255,), (1341131376,), (1341131591,), (1341131602,), (1341131604,), (1341131608,), (1341131610,), (1341131722,), (1341131747,), (1341131776,), (1341132461,), (1341132479,), (1341132513,), (1341132521,), (1341132523,), (1341132530,), (1341132545,), (1341136901,), (1341136903,), (1341137177,), (1341137207,), (1341137223,), (1341137244,), (1341137255,), (1341137264,), (1341137506,), (1341137563,), (1341137566,), (1341137570,), (1341137571,), (1341137575,), (1341137578,), (1341137679,), (1341137686,), (1341137705,), (1341137717,), (1341137779,), (1341137782,), (1341137786,), (1341137789,), (1341137792,), (1341137795,), (1341137921,), (1341137923,), (1341137925,), (1341137950,), (1341137955,), (1341137966,), (1341138065,), (1341138127,), (1341138132,), (1341138461,), (1341138464,), (1341138484,), (1341138488,), (1341138564,), (1341138833,), (1341138846,), (1341138851,), (1341138865,), (1341138872,), (1341139013,), (1341139014,), (1341139019,), (1341139113,), (1341139115,), (1341139124,), (1341139131,), (1341139145,), (1341139181,), (1341139183,), (1341139194,), (1341139205,), (1341139249,), (1341139429,), (1341139457,), (1341139474,), (1341139478,), (1341139490,), (1341139498,), (1341139506,), (1341139509,), (1341139512,), (1341139705,), (1341139704,), (1341140211,), (1341140235,), (1341140338,), (1341140342,), (1341140347,), (1341140349,), (1341140420,), (1341140442,), (1341140461,), (1341140465,), (1341140470,), (1341140474,), (1341140490,), (1341140492,), (1341140528,), (1341140537,), (1341140540,), (1341140542,), (1341140545,), (1341140579,), (1341140582,), (1341140587,), (1341140631,), (1341140633,), (1341140867,), (1341140872,), (1341140886,), (1341140891,), (1341140894,), (1341140896,), (1341140945,), (1341140947,), (1341140950,), (1341140953,), (1341140956,), (1341140991,), (1341140993,), (1341141000,), (1341141027,), (1341141019,), (1341141021,), (1341141023,), (1341141026,), (1341141056,), (1341141058,), (1341141195,), (1341141364,), (1341141373,), (1341141376,), (1341141377,), (1341141384,), (1341141391,), (1341141393,), (1341141397,), (1341141399,), (1341141408,), (1341141412,), (1341141415,), (1341141437,), (1341141440,), (1341141450,), (1341141453,), (1341141456,), (1341141461,), (1341141474,), (1341141477,), (1341141481,), (1341141567,), (1341141569,), (1341141571,), (1341141574,), (1341141576,), (1341141578,), (1341141625,), (1341141640,), (1341141645,), (1341141656,), (1341141675,), (1341141678,), (1341141723,), (1341141839,), (1341141965,), (1341141967,), (1341142068,), (1341142115,), (1341142122,), (1341142133,), (1341142139,), (1341142149,), (1341142161,), (1341142163,), (1341142167,), (1341142170,), (1341142173,), (1341142215,), (1341142236,), (1341142238,), (1341142240,), (1341142272,), (1341142275,), (1341142279,), (1341142281,), (1341142294,), (1341142304,), (1341142310,), (1341142313,), (1341142349,), (1341142338,), (1341142341,), (1341142344,), (1341142347,), (1341142419,), (1341142467,), (1341142531,), (1341143558,), (1341143567,), (1341143668,), (1341143716,), (1341143718,), (1341144060,), (1341144127,), (1341144183,), (1341144187,), (1341144190,), (1341144217,), (1341144220,), (1341144223,), (1341144226,), (1341144229,), (1341144232,), (1341144631,), (1341144641,), (1341144650,), (1341144653,), (1341144657,), (1341144693,), (1341144702,), (1341144707,), (1341144711,), (1341144718,), (1341144774,), (1341144776,), (1341144779,), (1341144830,), (1341144832,), (1341144836,), (1341144891,), (1341144894,), (1341144932,), (1341144936,), (1341144940,), (1341144942,), (1341144944,), (1341145000,), (1341145094,), (1341145137,), (1341145139,), (1341145142,), (1341145151,), (1341145153,), (1341145155,), (1341145319,), (1341145404,), (1341145492,), (1341145575,), (1341145638,), (1341145612,), (1341145616,), (1341145632,), (1341145636,), (1341145658,), (1341145661,), (1341145670,), (1341145672,), (1341145962,), (1341145964,), (1341145968,), (1341145973,), (1341145980,), (1341146026,), (1341146031,), (1341146047,), (1341146060,), (1341146062,), (1341146066,), (1341146069,), (1341146071,), (1341146098,), (1341146130,), (1341146134,), (1341146136,), (1341146138,), (1341146165,), (1341146237,), (1341146271,), (1341146276,), (1341146281,), (1341146315,), (1341146317,), (1341146322,), (1341146330,), (1341146348,), (1341146351,), (1341146361,), (1341146363,), (1341146365,), (1341146370,), (1341146387,), (1341146486,), (1341146496,), (1341146501,), (1341146504,), (1341146512,), (1341146514,), (1341146518,), (1341146521,), (1341146525,), (1341146612,), (1341146627,), (1341146636,), (1341146799,), (1341146814,), (1341146818,), (1341146861,), (1341146896,), (1341147008,), (1341147010,), (1341147014,), (1341147016,), (1341147020,), (1341147024,), (1341147036,), (1341147565,), (1341149281,), (1341149285,), (1341149288,), (1341149291,), (1341149349,), (1341149356,), (1341149361,), (1341149365,), (1341149372,), (1341150143,), (1341150153,), (1341150157,), (1341150294,), (1341150439,), (1341150442,), (1341150464,), (1341150498,), (1341150499,), (1341150500,), (1341150501,), (1341150522,), (1341150527,), (1341150537,), (1341150538,), (1341150549,), (1341150565,), (1341150570,), (1341150572,), (1341150574,), (1341150575,), (1341150576,), (1341150619,), (1341150624,), (1341150633,), (1341150640,), (1341150641,), (1341150642,), (1341150667,), (1341150676,), (1341150680,), (1341150689,), (1341150690,), (1341150726,), (1341150733,), (1341150746,), (1341150756,), (1341150759,), (1341150762,), (1341150786,), (1341150789,), (1341150803,), (1341150809,), (1341150829,), (1341150835,), (1341150848,), (1341151231,), (1341151204,), (1341151207,), (1341151210,), (1341151289,), (1341151293,), (1341151296,), (1341151300,), (1341151303,), (1341151571,), (1341151576,), (1341151591,), (1341151617,), (1341151704,), (1341151705,), (1341151710,), (1341151714,), (1341151727,), (1341151751,), (1341151753,), (1341151757,), (1341151765,), (1341151773,), (1341151798,), (1341151801,), (1341151805,), (1341151808,), (1341151810,), (1341151869,), (1341151880,), (1341151884,), (1341151893,), (1341151897,), (1341152023,), (1341152076,), (1341152090,), (1341152106,), (1341152121,), (1341152128,), (1341152245,), (1341152252,), (1341152255,), (1341152258,), (1341152302,), (1341152322,), (1341152364,), (1341152368,), (1341152372,), (1341152376,), (1341152773,), (1341152852,), (1341152919,), (1341152995,), (1341153072,), (1341153120,), (1341153124,), (1341153127,), (1341153132,), (1341153475,), (1341153458,), (1341153463,), (1341153468,), (1341153472,), (1341153488,), (1341153490,), (1341153494,), (1341153497,), (1341153517,), (1341153520,), (1341153523,), (1341153528,), (1341153556,), (1341153558,), (1341154192,), (1341154205,), (1341154213,), (1341154222,), (1341154228,), (1341154361,), (1341154500,), (1341154502,), (1341154506,), (1341154510,), (1341154530,), (1341154538,), (1341154555,), (1341154559,), (1341154624,), (1341154626,), (1341154629,), (1341154632,), (1341154635,), (1341154659,), (1341154686,), (1341154691,), (1341154694,), (1341154698,), (1341154730,), (1341154732,), (1341154735,), (1341154738,), (1341154780,), (1341154783,), (1341154787,), (1341154791,), (1341154801,), (1341154812,), (1341154861,), (1341154863,), (1341154866,), (1341154869,), (1341154872,), (1341154952,), (1341154955,), (1341154959,), (1341154988,), (1341154992,), (1341155030,), (1341155032,), (1341155045,), (1341155046,), (1341155049,), (1341155051,), (1341155054,), (1341155060,), (1341155206,), (1341155082,), (1341155164,), (1341155200,), (1341155273,), (1341155275,), (1341155279,), (1341155283,), (1341155285,), (1341155290,), (1341155358,), (1341155372,), (1341155375,), (1341155377,), (1341155409,), (1341155417,), (1341155423,), (1341155427,), (1341155433,), (1341155490,), (1341155493,), (1341155496,), (1341155498,), (1341155574,), (1341155575,), (1341155610,), (1341155612,), (1341155615,), (1341155632,), (1341156024,), (1341156029,), (1341156036,), (1341156056,), (1341156061,), (1341156062,), (1341156108,), (1341156113,), (1341156118,), (1341156145,), (1341156149,), (1341156150,), (1341156171,), (1341156174,), (1341156177,), (1341156224,), (1341156227,), (1341156249,), (1341156284,), (1341156300,), (1341156307,), (1341156397,), (1341156407,), (1341156419,), (1341156421,), (1341156423,), (1341156434,), (1341156529,), (1341156532,), (1341156537,), (1341156543,), (1341156544,), (1341156568,), (1341156570,), (1341156572,), (1341156574,), (1341156575,), (1341156577,), (1341156629,), (1341156640,), (1341156646,), (1341156648,), (1341156650,), (1341156653,), (1341156660,), (1341156663,), (1341156666,), (1341156669,), (1341156713,), (1341156678,), (1341156681,), (1341156684,), (1341156688,), (1341156722,), (1341156730,), (1341156740,), (1341156743,), (1341156748,), (1341156750,), (1341157198,), (1341157204,), (1341157210,), (1341157215,), (1341157356,), (1341157359,), (1341157366,), (1341157381,), (1341157385,), (1341157417,), (1341157419,), (1341157421,), (1341157425,), (1341157446,), (1341157449,), (1341157452,), (1341157456,), (1341157536,), (1341157551,), (1341157554,), (1341157557,), (1341157579,), (1341157668,), (1341157711,), (1341157716,), (1341157718,), (1341157720,), (1341157723,), (1341157758,), (1341157811,), (1341157815,), (1341157869,), (1341157878,), (1341157887,), (1341157913,), (1341157923,), (1341157925,), (1341157939,), (1341157941,), (1341157979,), (1341158016,), (1341158071,), (1341158073,), (1341158083,), (1341158126,), (1341158129,), (1341158172,), (1341158178,), (1341158181,), (1341158185,), (1341158188,), (1341158258,), (1341158261,), (1341158265,), (1341158268,), (1341158271,), (1341158326,), (1341158329,), (1341158331,), (1341158335,), (1341158395,), (1341158356,), (1341158358,), (1341158367,), (1341158375,), (1341158379,), (1341158405,), (1341158409,), (1341158414,), (1341158421,), (1341158616,), (1341158748,), (1341158751,), (1341158860,), (1341158866,), (1341158928,), (1341158931,), (1341158934,), (1341158976,), (1341158978,), (1341158983,), (1341159060,), (1341159063,), (1341159066,), (1341159160,), (1341159168,), (1341159170,), (1341159181,), (1341159189,), (1341159443,), (1341159463,), (1341159468,), (1341159561,), (1341159568,), (1341159604,), (1341159668,), (1341159679,), (1341159783,), (1341159788,), (1341159799,), (1341159805,), (1341159809,), (1341159833,), (1341159835,), (1341159840,), (1341159845,), (1341159887,), (1341159897,), (1341159901,), (1341159909,), (1341159911,), (1341159984,), (1341159993,), (1341159997,), (1341160020,), (1341160033,), (1341160041,), (1341160157,), (1341160159,), (1341160163,), (1341160167,), (1341160169,), (1341160172,), (1341160242,), (1341160275,), (1341160331,), (1341160336,), (1341160488,), (1341160502,), (1341160556,), (1341160560,), (1341160563,), (1341160566,), (1341160735,), (1341160575,), (1341160577,), (1341160581,), (1341160584,), (1341160611,), (1341160812,), (1341160823,), (1341160831,), (1341161214,), (1341161226,), (1341161244,), (1341161254,), (1341161266,), (1341161270,), (1341161358,), (1341161366,), (1341161370,), (1341161374,), (1341161423,), (1341161430,), (1341161441,), (1341161457,), (1341161464,), (1341161467,), (1341161571,), (1341161574,), (1341161577,), (1341161581,), (1341161584,), (1341161609,), (1341161611,), (1341161615,), (1341161620,), (1341161664,), (1341161668,), (1341161674,), (1341161677,), (1341161680,), (1341161684,), (1341161703,), (1341161719,), (1341161737,), (1341161749,), (1341161783,), (1341161877,), (1341161896,), (1341161929,), (1341161933,), (1341163696,), (1341163583,), (1341165607,), (1341165633,), (1341166755,), (1341166965,), (1341166969,), (1341166973,), (1341166990,), (1341167004,), (1341167070,), (1341167142,), (1341167210,), (1341167305,), (1341167309,), (1341167313,), (1341167318,), (1341167332,), (1341167335,), (1341167338,), (1341167342,), (1341167346,), (1341167349,), (1341167519,), (1341167375,), (1341167379,), (1341167383,), (1341167415,), (1341167623,), (1341167624,), (1341167629,), (1341167633,), (1341167692,), (1341167697,), (1341167724,), (1341167735,), (1341167737,), (1341167760,), (1341167769,), (1341167780,), (1341167790,), (1341167794,), (1341167798,), (1341167812,), (1341167822,), (1341167831,), (1341167856,), (1341167858,), (1341167863,), (1341167867,), (1341167870,), (1341167895,), (1341167896,), (1341167908,), (1341167936,), (1341167939,), (1341167943,), (1341167947,), (1341167949,), (1341167952,), (1341168018,), (1341168032,), (1341168035,), (1341168039,), (1341168085,), (1341168225,), (1341168280,), (1341168303,), (1341168308,), (1341168367,), (1341168372,), (1341168375,), (1341168377,), (1341168388,), (1341168390,), (1341168395,), (1341168398,), (1341168400,), (1341168435,), (1341168507,), (1341168511,), (1341168516,), (1341168523,), (1341168539,), (1341168547,), (1341168669,), (1341168689,), (1341168692,), (1341168900,), (1341169068,), (1341169072,), (1341169077,), (1341169118,), (1341169145,), (1341169361,), (1341169205,), (1341169216,), (1341169227,), (1341169279,), (1341169463,), (1341169474,), (1341169478,), (1341169482,), (1341169484,), (1341169486,), (1341169519,), (1341169526,), (1341169534,), (1341169563,), (1341169578,), (1341169579,), (1341169677,), (1341169679,), (1341169684,), (1341169687,), (1341169704,), (1341169707,), (1341169710,), (1341169729,), (1341169732,), (1341169750,), (1341169859,), (1341169872,), (1341169877,), (1341169882,), (1341169899,), (1341169901,), (1341169905,), (1341169908,), (1341169925,), (1341169932,), (1341170006,), (1341170009,), (1341170012,), (1341170014,), (1341170017,), (1341170036,), (1341170038,), (1341170042,), (1341170070,), (1341170075,), (1341170079,), (1341170096,), (1341170099,), (1341170104,), (1341170108,), (1341170111,), (1341170255,), (1341170258,), (1341170292,), (1341170301,), (1341170382,), (1341170386,), (1341170390,), (1341170394,), (1341170420,), (1341170423,), (1341170428,), (1341170430,), (1341170434,), (1341170447,), (1341170451,), (1341170455,), (1341170459,), (1341170461,), (1341170494,), (1341170486,), (1341170487,), (1341170491,), (1341170530,), (1341170533,), (1341170536,), (1341170617,), (1341170619,), (1341170624,), (1341170630,), (1341170638,), (1341170641,), (1341170654,), (1341170656,), (1341170660,), (1341170664,), (1341170667,), (1341170669,), (1341170733,), (1341170806,), (1341170924,), (1341170992,), (1341171375,), (1341171407,), (1341171480,), (1341171484,), (1341171487,), (1341171528,), (1341171575,), (1341171579,), (1341171584,), (1341171590,), (1341171601,), (1341171606,), (1341171681,), (1341171752,), (1341171845,), (1341171909,), (1341172246,), (1341172254,), (1341172260,), (1341172262,), (1341172265,), (1341172289,), (1341172292,), (1341172298,), (1341172310,), (1341172321,), (1341172669,), (1341172740,), (1341173397,), (1341173404,), (1341173483,), (1341173522,), (1341173995,), (1341174052,), (1341174085,), (1341174095,), (1341174426,), (1341174432,), (1341174435,), (1341174440,), (1341174444,), (1341174451,), (1341174453,), (1341174457,), (1341174488,), (1341174472,), (1341174476,), (1341174482,), (1341174485,), (1341174487,), (1341174534,), (1341174540,), (1341174546,), (1341174553,), (1341174564,), (1341174567,), (1341174626,), (1341174760,), (1341174830,), (1341174942,), (1341174944,), (1341174946,), (1341175101,), (1341175102,), (1341175108,), (1341175117,), (1341175120,), (1341175122,), (1341175157,), (1341175161,), (1341175166,), (1341175170,), (1341175174,), (1341175212,), (1341175216,), (1341175223,), (1341175226,), (1341175259,), (1341175262,), (1341175267,), (1341175272,), (1341175276,), (1341175279,), (1341175444,), (1341175454,), (1341175460,), (1341175464,), (1341175467,), (1341175491,), (1341175493,), (1341175497,), (1341175503,), (1341175510,), (1341175528,), (1341175531,), (1341175537,), (1341175541,), (1341175545,), (1341175560,), (1341175563,), (1341175592,), (1341175617,), (1341175641,), (1341175649,), (1341175690,), (1341175698,), (1341175701,), (1341175704,), (1341175730,), (1341175735,), (1341175740,), (1341175743,), (1341175746,), (1341175751,), (1341175772,), (1341175777,), (1341175781,), (1341175813,), (1341175817,), (1341175824,), (1341175827,), (1341175832,), (1341176064,), (1341175854,), (1341175863,), (1341175878,), (1341176007,), (1341176215,), (1341176218,), (1341176227,), (1341176239,), (1341176274,), (1341176279,), (1341176284,), (1341176291,), (1341176296,), (1341176348,), (1341176354,), (1341176358,), (1341176362,), (1341176365,), (1341176368,), (1341176395,), (1341176406,), (1341176421,), (1341176427,), (1341176459,), (1341176462,), (1341176466,), (1341176470,), (1341176511,), (1341176516,), (1341176524,), (1341176533,), (1341176536,), (1341176577,), (1341176579,), (1341176591,), (1341176596,), (1341176598,), (1341176608,), (1341176611,), (1341176618,), (1341176702,), (1341176711,), (1341176715,), (1341176719,), (1341176726,), (1341176731,), (1341176872,), (1341176882,), (1341176887,), (1341176892,), (1341176898,), (1341176912,), (1341176921,), (1341176925,), (1341176929,), (1341176942,), (1341176946,), (1341176953,), (1341176956,), (1341176960,), (1341177003,), (1341177008,), (1341177012,), (1341177067,), (1341177068,), (1341177113,), (1341177117,), (1341177122,), (1341177125,), (1341177126,), (1341177144,), (1341177137,), (1341177140,), (1341177693,), (1341177698,), (1341177724,), (1341177878,), (1341178030,), (1341178033,), (1341178038,), (1341178100,), (1341178170,), (1341178356,), (1341178361,), (1341178368,), (1341178390,), (1341178394,), (1341178426,), (1341178429,), (1341178434,), (1341178436,), (1341178441,), (1341178445,), (1341178681,), (1341178693,), (1341178700,), (1341178713,), (1341178716,), (1341178718,), (1341178762,), (1341178788,), (1341178855,), (1341179126,), (1341179131,), (1341180279,), (1341180698,), (1341180701,), (1341181792,), (1341181783,), (1341181787,), (1341181968,), (1341181986,), (1341182077,), (1341182082,), (1341182085,), (1341182089,), (1341182114,), (1341182116,), (1341182121,), (1341182126,), (1341182131,), (1341182211,), (1341182214,), (1341182220,), (1341182225,), (1341182230,), (1341182245,), (1341182248,), (1341182258,), (1341182262,), (1341182292,), (1341182315,), (1341182320,), (1341182324,), (1341182328,), (1341182334,), (1341182403,), (1341182501,), (1341182537,), (1341182587,), (1341182612,), (1341182845,), (1341182851,), (1341182863,), (1341182870,), (1341182872,), (1341182879,), (1341182887,), (1341182920,), (1341182902,), (1341182908,), (1341182913,), (1341182918,), (1341183218,), (1341183225,), (1341183236,), (1341183288,), (1341183301,), (1341183312,), (1341183317,), (1341183320,), (1341183324,), (1341183364,), (1341183368,), (1341183374,), (1341183377,), (1341183379,), (1341183384,), (1341183433,), (1341183438,), (1341183446,), (1341183451,), (1341183477,), (1341183487,), (1341183491,), (1341183494,), (1341183498,), (1341183501,), (1341183568,), (1341183576,), (1341183580,), (1341183591,), (1341183617,), (1341183646,), (1341183650,), (1341183655,), (1341183662,), (1341183671,), (1341183684,), (1341183857,), (1341183910,), (1341183914,), (1341183917,), (1341183925,), (1341183950,), (1341183961,), (1341183972,), (1341183981,), (1341183986,), (1341183989,), (1341183990,), (1341183992,), (1341183996,), (1341184000,), (1341184006,), (1341184056,), (1341184064,), (1341184068,), (1341184072,), (1341184079,), (1341184087,), (1341184094,), (1341184126,), (1341184129,), (1341184157,), (1341184164,), (1341184168,), (1341184172,), (1341184180,), (1341184200,), (1341184210,), (1341184216,), (1341184260,), (1341184262,), (1341184338,), (1341184340,), (1341184343,), (1341184350,), (1341184356,), (1341184032,), (1341184040,), (1341184045,), (1341184049,), (1341184052,), (1341184104,), (1341184108,), (1341184120,), (1341184122,), (1341184139,), (1341184144,), (1341184149,), (1341184152,), (1341184227,), (1341184229,), (1341184242,), (1341184244,), (1341184245,), (1341184246,), (1341184248,), (1341184249,), (1341184252,), (1341184253,), (1341184286,), (1341184289,), (1341184298,), (1341184304,), (1341184309,), (1341184330,), (1341184368,), (1341184370,), (1341184374,), (1341184376,), (1341184378,), (1341184379,), (1341184380,), (1341184382,), (1341184404,), (1341184409,), (1341184415,), (1341184425,), (1341184434,), (1341184444,), (1341184500,), (1341184512,), (1341184531,), (1341184591,), (1341184632,), (1341184779,), (1341184838,), (1341185001,), (1341185015,), (1341185020,), (1341185025,), (1341185090,), (1341185094,), (1341185098,), (1341185104,), (1341185282,), (1341185285,), (1341185290,), (1341185296,), (1341185302,), (1341185568,), (1341185569,), (1341185575,), (1341185715,), (1341185717,), (1341185721,), (1341185765,), (1341186060,), (1341186082,), (1341186086,), (1341186100,), (1341186114,), (1341186169,), (1341186157,), (1341186160,), (1341186165,), (1341186448,), (1341186452,), (1341186604,), (1341186614,), (1341186639,), (1341186642,), (1341186656,), (1341186745,), (1341186749,), (1341186754,), (1341186757,), (1341186774,), (1341186782,), (1341186822,), (1341186827,), (1341186832,), (1341186967,), (1341186975,), (1341187018,), (1341187028,), (1341187062,), (1341187111,), (1341187456,), (1341187479,), (1341187493,), (1341187515,), (1341187530,), (1341187579,), (1341187589,), (1341187596,), (1341187606,), (1341187718,), (1341187722,), (1341187729,), (1341187736,), (1341187771,), (1341187806,), (1341187811,), (1341187819,), (1341187852,), (1341187855,), (1341187861,), (1341188222,), (1341188231,), (1341188245,), (1341188252,), (1341188440,), (1341188443,), (1341188451,), (1341188462,), (1341188491,), (1341188494,), (1341188498,), (1341188502,), (1341188515,), (1341188540,), (1341188543,), (1341188554,), (1341188561,), (1341188565,), (1341188605,), (1341188594,), (1341188597,), (1341188601,), (1341188643,), (1341188651,), (1341188714,), (1341188804,), (1341188820,), (1341188970,), (1341188975,), (1341188980,), (1341188985,), (1341188991,), (1341189095,), (1341189108,), (1341189116,), (1341189123,), (1341189183,), (1341189193,), (1341189199,), (1341189205,), (1341189242,), (1341189245,), (1341189250,), (1341189254,), (1341189256,), (1341189260,), (1341189299,), (1341189300,), (1341189302,), (1341189310,), (1341189363,), (1341189367,), (1341189375,), (1341189380,), (1341189383,), (1341189427,), (1341189454,), (1341189457,), (1341189462,), (1341189467,), (1341189470,), (1341189506,), (1341189512,), (1341189518,), (1341189565,), (1341189569,), (1341189574,), (1341189580,), (1341189591,), (1341189599,), (1341189630,), (1341189633,), (1341189639,), (1341189843,), (1341189864,), (1341189873,), (1341189878,), (1341189881,), (1341189883,), (1341191364,), (1341191399,), (1341191469,), (1341191507,), (1341191991,), (1341191975,), (1341191979,), (1341191985,), (1341192295,), (1341192385,), (1341192424,), (1341192447,), (1341192538,), (1341192585,), (1341192625,), (1341192630,), (1341192662,), (1341192694,), (1341192717,), (1341192726,), (1341192792,), (1341192881,), (1341193356,), (1341193361,), (1341193370,), (1341193423,), (1341193604,), (1341193653,), (1341193741,), (1341193831,), (1341193909,), (1341193939,), (1341194101,), (1341194114,), (1341194124,), (1341194136,), (1341194140,), (1341194218,), (1341194225,), (1341194228,), (1341194236,), (1341194440,), (1341194555,), (1341194646,), (1341194846,), (1341194934,), (1341195469,), (1341195477,), (1341195481,), (1341195484,), (1341195486,), (1341195496,), (1341195719,), (1341195731,), (1341195808,), (1341195812,), (1341195911,), (1341195917,), (1341195923,), (1341195926,), (1341195929,), (1341195932,), (1341195973,), (1341195978,), (1341195986,), (1341195991,), (1341195993,), (1341196083,), (1341196088,), (1341196093,), (1341196122,), (1341196293,), (1341196242,), (1341196248,), (1341196394,), (1341196397,), (1341196402,), (1341196407,), (1341196420,), (1341196502,), (1341196508,), (1341196512,), (1341196553,), (1341196556,), (1341196560,), (1341196563,), (1341196567,), (1341196594,), (1341196598,), (1341196601,), (1341196631,), (1341196635,), (1341196659,), (1341196881,), (1341196895,), (1341196919,), (1341196932,), (1341196943,), (1341196952,), (1341196990,), (1341197000,), (1341197005,), (1341197195,), (1341197200,), (1341197239,), (1341197343,), (1341197347,), (1341197352,), (1341197367,), (1341197373,), (1341197405,), (1341197409,), (1341197452,), (1341197459,), (1341197468,), (1341197507,), (1341197521,), (1341197528,), (1341198456,), (1341198655,), (1341198762,), (1341198906,), (1341199069,), (1341199058,), (1341199064,), (1341199371,), (1341199392,), (1341199482,), (1341199487,), (1341199653,), (1341199656,), (1341199707,), (1341199713,), (1341199717,), (1341199932,), (1341199952,), (1341200010,), (1341200163,), (1341200384,), (1341200883,), (1341201010,), (1341201015,), (1341201019,), (1341201190,), (1341201194,), (1341201201,), (1341201207,), (1341201266,), (1341201288,), (1341201291,), (1341201297,), (1341201324,), (1341201328,), (1341201333,), (1341201366,), (1341201369,), (1341201374,), (1341201382,), (1341201614,), (1341201619,), (1341201638,), (1341201644,), (1341201647,), (1341201681,), (1341201685,), (1341201698,), (1341201704,), (1341201711,), (1341201772,), (1341201779,), (1341201785,), (1341201841,), (1341201816,), (1341201821,), (1341201829,), (1341201877,), (1341201885,), (1341201889,), (1341201892,), (1341201894,), (1341201914,), (1341201930,), (1341201940,), (1341201955,), (1341201965,), (1341201971,), (1341202149,), (1341202270,), (1341202308,), (1341202401,), (1341202632,), (1341202675,), (1341202754,), (1341202778,), (1341202788,), (1341202872,), (1341202902,), (1341202914,), (1341202932,), (1341202944,), (1341202972,), (1341202982,), (1341202984,), (1341203015,), (1341203018,), (1341203025,), (1341203030,), (1341203116,), (1341203121,), (1341203127,), (1341203129,), (1341203137,), (1341203176,), (1341203179,), (1341203198,), (1341203214,), (1341203248,), (1341203253,), (1341203267,), (1341203285,), (1341203292,), (1341203340,), (1341203343,), (1341203349,), (1341203354,), (1341203358,), (1341203391,), (1341203399,), (1341203406,), (1341203411,), (1341203535,), (1341203538,), (1341203546,), (1341203553,), (1341203557,), (1341203561,), (1341203592,), (1341208881,), (1341208982,), (1341208988,), (1341208994,), (1341209026,), (1341209028,), (1341209033,), (1341209038,), (1341209041,), (1341209113,), (1341209115,), (1341209153,), (1341209156,), (1341209161,), (1341209214,), (1341209217,), (1341209221,), (1341209298,), (1341209302,), (1341209307,), (1341209384,), (1341209386,), (1341209391,), (1341209397,), (1341209401,), (1341209507,), (1341209522,), (1341209563,), (1341209570,), (1341209876,), (1341209932,), (1341209938,), (1341209943,), (1341209948,), (1341209953,), (1341209981,), (1341210020,), (1341210032,), (1341210039,), (1341210224,), (1341210273,), (1341210346,), (1341210434,), (1341210507,), (1341210517,), (1341210783,), (1341210790,), (1341210794,), (1341210798,), (1341210802,), (1341210925,), (1341210826,), (1341210872,), (1341210891,), (1341210919,), (1341211027,), (1341211031,), (1341211054,), (1341211065,), (1341211169,), (1341211173,), (1341211181,), (1341211187,), (1341211190,), (1341211212,), (1341211219,), (1341211223,), (1341211228,), (1341211233,), (1341211238,), (1341211352,), (1341211354,), (1341211359,), (1341211362,), (1341211390,), (1341211613,), (1341211756,), (1341211905,), (1341212012,), (1341212177,), (1341213108,), (1341213279,), (1341213285,), (1341213291,), (1341213749,), (1341213752,), (1341213812,), (1341213817,), (1341213862,), (1341213875,), (1341213910,), (1341213917,), (1341213923,), (1341213929,), (1341213934,), (1341213940,), (1341213967,), (1341213972,), (1341213979,), (1341213984,), (1341214031,), (1341214034,), (1341214040,), (1341214046,), (1341214055,), (1341214066,), (1341214150,), (1341214153,), (1341214162,), (1341214172,), (1341214208,), (1341214215,), (1341214221,), (1341214227,), (1341214232,), (1341214243,), (1341214281,), (1341214287,), (1341214292,), (1341215078,), (1341214882,), (1341214984,), (1341215054,), (1341215059,), (1341215126,), (1341215221,), (1341215321,), (1341215355,), (1341215513,), (1341215518,), (1341215522,), (1341215873,), (1341215880,), (1341215885,), (1341215889,), (1341215892,), (1341215910,), (1341216629,), (1341216631,), (1341216637,), (1341216698,), (1341216732,), (1341217629,), (1341217744,), (1341217867,), (1341217954,), (1341218041,), (1341218127,), (1341218130,), (1341218134,), (1341218141,), (1341218154,), (1341218160,), (1341218239,), (1341218242,), (1341218250,), (1341218260,), (1341218266,), (1341218273,), (1341218292,), (1341218295,), (1341218312,), (1341218316,), (1341218323,), (1341218329,), (1341218333,), (1341218394,), (1341218420,), (1341218423,), (1341218427,), (1341218430,), (1341218452,), (1341218456,), (1341218462,), (1341218467,), (1341218758,), (1341218762,), (1341218768,), (1341218774,), (1341218796,), (1341218802,), (1341218864,), (1341218867,), (1341218872,), (1341218876,), (1341218878,), (1341218917,), (1341218920,), (1341218925,), (1341218928,), (1341218931,), (1341218992,), (1341218968,), (1341218972,), (1341218976,), (1341218979,), (1341218982,), (1341219072,), (1341219075,), (1341219101,), (1341219115,), (1341219125,), (1341219196,), (1341219199,), (1341219204,), (1341219207,), (1341219211,), (1341219213,), (1341219872,), (1341219890,), (1341219897,), (1341219901,), (1341220121,), (1341220126,), (1341220129,), (1341220133,), (1341220138,), (1341220156,), (1341220176,), (1341220225,), (1341220231,), (1341220234,), (1341220319,), (1341220321,), (1341220325,), (1341220330,), (1341220344,), (1341220356,), (1341220417,), (1341220420,), (1341220427,), (1341220464,), (1341220467,), (1341220754,), (1341220759,), (1341220765,), (1341220772,), (1341220883,), (1341220888,), (1341220894,), (1341220900,), (1341220913,), (1341221070,), (1341221073,), (1341221079,), (1341221084,), (1341221087,), (1341221121,), (1341221129,), (1341221159,), (1341221164,), (1341221179,), (1341221217,), (1341221221,), (1341221226,), (1341221288,), (1341221293,), (1341221298,), (1341221303,), (1341221306,), (1341221310,), (1341221431,), (1341221417,), (1341221423,), (1341221427,), (1341221461,), (1341221466,), (1341221473,), (1341221509,), (1341221582,), (1341221601,), (1341221631,), (1341221635,), (1341221640,), (1341221645,), (1341221647,), (1341221672,), (1341221677,), (1341221684,), (1341221747,), (1341221753,), (1341221758,), (1341221764,), (1341221769,), (1341221828,), (1341221832,), (1341221838,), (1341221843,), (1341222316,), (1341222523,), (1341222543,), (1341222632,), (1341223730,), (1341223733,), (1341223743,), (1341223759,), (1341223775,), (1341224245,), (1341224262,), (1341224288,), (1341224303,), (1341224390,), (1341224426,), (1341224540,), (1341224611,), (1341224628,), (1341224972,), (1341224988,), (1341225032,), (1341225046,), (1341225712,), (1341225798,), (1341225867,), (1341225871,), (1341225875,), (1341226072,), (1341226107,), (1341226135,), (1341226141,), (1341226221,), (1341226225,), (1341226230,), (1341226251,), (1341226342,), (1341226651,), (1341226654,), (1341226659,), (1341226666,), (1341226672,), (1341226810,), (1341226757,), (1341226761,), (1341226798,), (1341226881,), (1341226893,), (1341227043,), (1341227152,), (1341227219,), (1341227330,), (1341227410,), (1341227416,), (1341227547,), (1341227651,), (1341228140,), (1341228143,), (1341228179,), (1341228184,), (1341228222,), (1341228243,), (1341228274,), (1341228307,), (1341228333,), (1341228418,), (1341228422,), (1341228427,), (1341228430,), (1341228649,), (1341228672,), (1341228696,), (1341228713,), (1341228716,), (1341228720,), (1341228752,), (1341228757,), (1341228762,), (1341228767,), (1341228770,), (1341228926,), (1341228930,), (1341228959,), (1341228978,), (1341228983,), (1341229041,), (1341229099,), (1341229115,), (1341229119,), (1341229123,), (1341229298,), (1341229301,), (1341229307,), (1341229313,), (1341229363,), (1341229378,), (1341229480,), (1341229570,), (1341258101,), (1341260932,), (1341260938,), (1341261169,), (1341261175,), (1341261223,), (1341261240,), (1341261254,), (1341261281,), (1341261286,), (1341261291,), (1341261323,), (1341261327,), (1341261333,), (1341261344,), (1341261350,), (1341261382,), (1341261385,), (1341261391,), (1341261397,), (1341261615,), (1341261464,), (1341261588,), (1341261836,), (1341261840,), (1341261844,), (1341261862,), (1341261885,), (1341261909,), (1341261977,), (1341261980,), (1341261985,), (1341261989,), (1341262113,), (1341262118,), (1341262124,), (1341262129,), (1341262287,), (1341262293,), (1341262296,), (1341262340,), (1341262346,), (1341262350,), (1341262355,), (1341262390,), (1341262534,), (1341262584,), (1341262591,), (1341262633,), (1341262640,), (1341262650,), (1341262654,), (1341262679,), (1341262683,), (1341262727,), (1341262732,), (1341262789,), (1341262795,), (1341262944,), (1341262947,), (1341262955,), (1341262963,), (1341262967,), (1341262991,), (1341262996,), (1341263002,), (1341263010,), (1341263017,), (1341263023,), (1341263085,), (1341263090,), (1341263107,), (1341263114,), (1341263136,), (1341264473,), (1341264474,), (1341264476,), (1341264478,), (1341264480,), (1341264482,), (1341264543,), (1341264550,), (1341264558,), (1341264564,), (1341264569,), (1341264574,), (1341264600,), (1341264611,), (1341264618,), (1341264628,), (1341264634,), (1341264638,), (1341264668,), (1341264673,), (1341264697,), (1341264704,), (1341264714,), (1341264718,), (1341264722,), (1341264728,), (1341264771,), (1341264779,), (1341264809,), (1341264833,), (1341264839,), (1341264843,), (1341264846,), (1341264851,), (1341264857,), (1341264952,), (1341264966,), (1341264974,), (1341264983,), (1341264989,), (1341264996,), (1341265002,), (1341265030,), (1341265034,), (1341265039,), (1341265058,), (1341265063,), (1341264651,), (1341264656,), (1341264661,), (1341264664,), (1341264736,), (1341264743,), (1341264749,), (1341264763,), (1341264793,), (1341264797,), (1341264800,), (1341264803,), (1341264806,), (1341264869,), (1341264872,), (1341264874,), (1341264876,), (1341264881,), (1341264882,), (1341264886,), (1341264889,), (1341264895,), (1341264897,), (1341264902,), (1341264903,), (1341264923,), (1341264928,), (1341264935,), (1341264942,), (1341264948,), (1341265014,), (1341265019,), (1341265025,), (1341265099,), (1341265102,), (1341265106,), (1341265107,), (1341265110,), (1341265113,), (1341265116,), (1341265120,), (1341265124,), (1341265132,), (1341265137,), (1341265144,), (1341265155,), (1341265160,), (1341265165,), (1341265169,), (1341265174,), (1341265234,), (1341265236,), (1341265240,), (1341265243,), (1341265249,), (1341265259,), (1341265281,), (1341265288,), (1341265340,), (1341265353,), (1341265362,), (1341265368,), (1341265371,), (1341265446,), (1341265454,), (1341265459,), (1341265464,), (1341265507,), (1341265511,), (1341265523,), (1341265529,), (1341265540,), (1341265548,), (1341265565,), (1341265606,), (1341265669,), (1341265720,), (1341266072,), (1341266105,), (1341266116,), (1341266123,), (1341266158,), (1341266190,), (1341266196,), (1341266201,), (1341266206,), (1341266217,), (1341266221,), (1341266614,), (1341265069,), (1341265075,), (1341265080,), (1341265084,), (1341265178,), (1341265200,), (1341265205,), (1341265210,), (1341265212,), (1341265217,), (1341265220,), (1341265289,), (1341265297,), (1341265298,), (1341265316,), (1341265377,), (1341265391,), (1341265409,), (1341265413,), (1341265418,), (1341265422,), (1341265436,), (1341265470,), (1341265475,), (1341265773,), (1341265839,), (1341265936,), (1341265941,), (1341265952,), (1341265962,), (1341265978,), (1341265985,), (1341266172,), (1341266248,), (1341266252,), (1341266261,), (1341266268,), (1341266308,), (1341266403,), (1341266619,), (1341266623,), (1341266642,), (1341266660,), (1341266666,), (1341266671,), (1341266674,), (1341266679,), (1341266767,), (1341266795,), (1341266799,), (1341266813,), (1341266815,), (1341266877,), (1341266880,), (1341266895,), (1341266555,), (1341266578,), (1341266609,), (1341266692,), (1341266728,), (1341266744,), (1341266754,), (1341266761,), (1341266782,), (1341266788,), (1341266827,), (1341266855,), (1341266859,), (1341266867,), (1341266944,), (1341266950,), (1341266954,), (1341266959,), (1341266961,), (1341266965,), (1341267018,), (1341267020,), (1341267024,), (1341267027,), (1341267031,), (1341267214,), (1341267228,), (1341267234,), (1341267239,), (1341267427,), (1341267432,), (1341267471,), (1341267502,), (1341267506,), (1341267570,), (1341267575,), (1341267578,), (1341267582,), (1341267597,), (1341267603,), (1341267607,), (1341267796,), (1341267797,), (1341267809,), (1341267819,), (1341267841,), (1341267854,), (1341267861,), (1341267862,), (1341267865,), (1341267867,), (1341267917,), (1341267924,), (1341267927,), (1341267950,), (1341267954,), (1341267964,), (1341268048,), (1341268062,), (1341268071,), (1341268259,), (1341268272,), (1341268276,), (1341268305,), (1341268308,), (1341272878,), (1341266898,), (1341266905,), (1341266914,), (1341266918,), (1341266921,), (1341266974,), (1341266979,), (1341266983,), (1341266993,), (1341266999,), (1341267005,), (1341267036,), (1341267244,), (1341267247,), (1341267318,), (1341267367,), (1341267371,), (1341267380,), (1341267402,), (1341267407,), (1341267509,), (1341267524,), (1341267535,), (1341267545,), (1341267551,), (1341267554,), (1341267557,), (1341267586,), (1341267587,), (1341267614,), (1341267630,), (1341267634,), (1341267658,), (1341267662,), (1341267668,), (1341267740,), (1341267745,), (1341267761,), (1341267868,), (1341267872,), (1341267977,), (1341267980,), (1341267985,), (1341268019,), (1341268022,), (1341268033,), (1341268126,), (1341268130,), (1341268133,), (1341268145,), (1341268154,), (1341268161,), (1341268173,), (1341268202,), (1341268212,), (1341268282,), (1341268286,), (1341268291,), (1341268313,), (1341268318,), (1341268322,), (1341268325,), (1341272871,), (1341272875,), (1341272876,), (1341272941,), (1341272944,), (1341272949,), (1341272954,), (1341272958,), (1341273611,), (1341273613,), (1341273617,), (1341273682,), (1341274017,), (1341274053,), (1341274056,), (1341274062,), (1341274085,), (1341274088,), (1341274132,), (1341274135,), (1341274143,), (1341274532,), (1341274534,), (1341274538,), (1341274579,), (1341274664,), (1341274690,), (1341274712,), (1341274717,), (1341274747,), (1341274859,), (1341274862,), (1341274864,), (1341274867,), (1341274871,), (1341274891,), (1341274895,), (1341274900,), (1341274908,), (1341274915,), (1341274918,), (1341274982,), (1341274985,), (1341274988,), (1341274991,), (1341274995,), (1341275025,), (1341275030,), (1341275035,), (1341275039,), (1341275041,), (1341275047,), (1341275090,), (1341275094,), (1341275112,), (1341275155,), (1341275159,), (1341275162,), (1341275164,), (1341275167,), (1341275169,), (1341275238,), (1341275243,), (1341275248,), (1341275252,), (1341275257,), (1341275313,), (1341275300,), (1341275304,), (1341275342,), (1341275345,), (1341275351,), (1341275355,), (1341275359,), (1341275399,), (1341275404,), (1341275409,), (1341275434,), (1341275442,), (1341275447,), (1341275456,), (1341275467,), (1341275473,), (1341275478,), (1341275562,), (1341275567,), (1341275574,), (1341275590,), (1341275627,), (1341275644,), (1341275648,), (1341275651,), (1341275655,), (1341275659,), (1341275895,), (1341275940,), (1341275948,), (1341275983,), (1341276069,), (1341276072,), (1341276078,), (1341276083,), (1341276107,), (1341276109,), (1341276112,), (1341276116,), (1341276130,), (1341276134,), (1341276522,), (1341276524,), (1341276526,), (1341276529,), (1341276553,), (1341276561,), (1341276567,), (1341276574,), (1341276578,), (1341276626,), (1341276628,), (1341276631,), (1341276634,), (1341276637,), (1341276639,), (1341276683,), (1341276686,), (1341276691,), (1341276696,), (1341276700,), (1341276714,), (1341276717,), (1341276723,), (1341276855,), (1341276864,), (1341276867,), (1341276871,), (1341276874,), (1341276941,), (1341276924,), (1341276930,), (1341276935,), (1341276938,), (1341277195,), (1341277271,), (1341277277,), (1341277279,), (1341277283,), (1341277287,), (1341277375,), (1341277398,), (1341277402,), (1341277420,), (1341277425,), (1341277936,), (1341277940,), (1341277941,), (1341277945,), (1341277950,), (1341277956,), (1341277963,), (1341277966,), (1341277974,), (1341277979,), (1341277992,), (1341278061,), (1341278067,), (1341278089,), (1341278107,), (1341278112,), (1341278115,), (1341278119,), (1341278164,), (1341278168,), (1341278172,), (1341278225,), (1341278229,), (1341278233,), (1341278236,), (1341278240,), (1341278263,), (1341278266,), (1341278351,), (1341278362,), (1341278366,), (1341278370,), (1341278524,), (1341278528,), (1341278533,), (1341278538,), (1341278545,), (1341278560,), (1341278744,), (1341278749,), (1341278755,), (1341278764,), (1341278773,), (1341278789,), (1341278791,), (1341278845,), (1341278850,), (1341278856,), (1341278860,), (1341278865,), (1341278904,), (1341278886,), (1341278892,), (1341278898,), (1341279052,), (1341279055,), (1341279100,), (1341279111,), (1341279134,), (1341279322,), (1341279458,), (1341279562,), (1341279712,), (1341280255,), (1341280378,), (1341280417,), (1341280422,), (1341280437,), (1341280445,), (1341280790,), (1341280864,), (1341280870,), (1341280887,), (1341280902,), (1341280907,), (1341280926,), (1341280930,), (1341280935,), (1341280971,), (1341280992,), (1341280999,), (1341281009,), (1341281067,), (1341281072,), (1341281079,), (1341281083,), (1341281088,), (1341281093,), (1341281114,), (1341281116,), (1341281123,), (1341281132,), (1341281437,), (1341281442,), (1341281455,), (1341281461,), (1341281556,), (1341281593,), (1341281600,), (1341281621,), (1341281649,), (1341281652,), (1341281659,), (1341281793,), (1341281805,), (1341281807,), (1341281922,), (1341281850,), (1341281915,), (1341282051,), (1341282055,), (1341282061,), (1341282100,), (1341282103,), (1341282106,), (1341282109,), (1341282113,), (1341282163,), (1341282168,), (1341282171,), (1341282174,), (1341282176,), (1341282199,), (1341282204,), (1341282208,), (1341282239,), (1341282243,), (1341282248,), (1341282263,), (1341282265,), (1341282282,), (1341282670,), (1341282943,), (1341283155,), (1341283260,), (1341283263,), (1341283340,), (1341283347,), (1341283352,), (1341283356,), (1341283360,), (1341283640,), (1341283643,), (1341283687,), (1341283698,), (1341283701,), (1341283724,), (1341283740,), (1341283745,), (1341283750,), (1341283775,), (1341283778,), (1341283782,), (1341283787,), (1341283795,), (1341283963,), (1341283969,), (1341283973,), (1341283977,), (1341283981,), (1341284007,), (1341284024,), (1341284027,), (1341284080,), (1341284091,), (1341284098,), (1341284102,), (1341284106,), (1341284110,), (1341284465,), (1341284538,), (1341284545,), (1341284548,), (1341284553,), (1341284786,), (1341284701,), (1341284704,), (1341284723,), (1341284969,), (1341284973,), (1341284978,), (1341284982,), (1341285098,), (1341285498,), (1341285507,), (1341285510,), (1341285514,), (1341285550,), (1341285555,), (1341285558,), (1341285561,), (1341285647,), (1341285655,), (1341285666,), (1341285672,), (1341285716,), (1341285720,), (1341285726,), (1341285731,), (1341285753,), (1341285762,), (1341285768,), (1341285772,), (1341285795,), (1341285798,), (1341285842,), (1341285847,), (1341285850,), (1341285854,), (1341285860,), (1341285864,), (1341285893,), (1341285947,), (1341286138,), (1341286241,), (1341286249,), (1341286266,), (1341286290,), (1341286296,), (1341286304,), (1341286366,), (1341286373,), (1341286378,), (1341286383,), (1341286392,), (1341286396,), (1341286428,), (1341286436,), (1341286440,), (1341286447,), (1341286471,), (1341286474,), (1341286482,), (1341286487,), (1341286493,), (1341286497,), (1341286535,), (1341286539,), (1341286545,), (1341286548,), (1341286554,), (1341286559,), (1341286601,), (1341286589,), (1341286592,), (1341286596,), (1341286737,), (1341286782,), (1341286800,), (1341286812,), (1341286845,), (1341286888,), (1341286893,), (1341286897,), (1341286902,), (1341286907,), (1341286926,), (1341286929,), (1341286936,), (1341286944,), (1341286978,), (1341286981,), (1341286987,), (1341286992,), (1341286997,), (1341287016,), (1341287294,), (1341287296,), (1341287332,), (1341287422,), (1341287523,), (1341288418,), (1341288592,), (1341288602,), (1341288612,), (1341288630,), (1341288644,), (1341288659,), (1341288673,), (1341288682,), (1341288710,), (1341288724,), (1341288772,), (1341288798,), (1341288890,), (1341288936,), (1341289243,), (1341289251,), (1341289257,), (1341289554,), (1341289626,), (1341289629,), (1341289653,), (1341289666,), (1341289807,), (1341289820,), (1341289832,), (1341289870,), (1341289893,), (1341290036,), (1341290039,), (1341290050,), (1341290066,), (1341290076,), (1341290232,), (1341290255,), (1341290263,), (1341290355,), (1341290358,), (1341290365,), (1341290371,), (1341290378,), (1341290386,), (1341290541,), (1341290420,), (1341290436,), (1341290497,), (1341290509,), (1341290523,), (1341290609,), (1341290613,), (1341290618,), (1341290623,), (1341290667,), (1341290670,), (1341290676,), (1341290683,), (1341290689,), (1341290694,), (1341290798,), (1341290800,), (1341290805,), (1341290813,), (1341291520,), (1341291529,), (1341291582,), (1341291587,), (1341291632,), (1341291716,), (1341291724,), (1341291729,), (1341291734,), (1341291737,), (1341291743,), (1341291914,), (1341291917,), (1341292019,), (1341292313,), (1341292340,), (1341292342,), (1341292348,), (1341292356,), (1341292365,), (1341292434,), (1341292437,), (1341292441,), (1341292447,), (1341292451,), (1341292490,), (1341292497,), (1341292503,), (1341292546,), (1341292554,), (1341292562,), (1341292566,), (1341292570,), (1341292618,), (1341292628,), (1341292637,), (1341292700,), (1341292708,), (1341292719,), (1341292723,), (1341292731,), (1341292733,), (1341292959,), (1341292965,), (1341292972,), (1341292983,), (1341292985,), (1341292995,), (1341293019,), (1341293027,), (1341293033,), (1341293063,), (1341293044,), (1341293048,), (1341293053,), (1341293057,), (1341293060,), (1341293134,), (1341293216,), (1341293397,), (1341293481,), (1341293570,), (1341293907,), (1341293910,), (1341293915,), (1341293919,), (1341294195,), (1341294205,), (1341294207,), (1341294210,), (1341294276,), (1341294286,), (1341294347,), (1341294349,), (1341294353,), (1341294356,), (1341294359,), (1341294614,), (1341294646,), (1341294677,), (1341294735,), (1341294742,), (1341294747,), (1341294751,), (1341294755,), (1341295360,), (1341295460,), (1341295607,), (1341295611,), (1341295620,), (1341295643,), (1341295647,), (1341295650,), (1341295826,), (1341295928,), (1341295935,), (1341295938,), (1341295946,), (1341296010,), (1341296015,), (1341296022,), (1341296029,), (1341296032,), (1341296058,), (1341296061,), (1341296066,), (1341296096,), (1341296100,), (1341296107,), (1341296111,), (1341296115,), (1341296121,), (1341296154,), (1341296161,), (1341296168,), (1341296174,), (1341296180,), (1341296234,), (1341296237,), (1341296327,), (1341296317,), (1341296393,), (1341296395,), (1341296402,), (1341296435,), (1341296441,), (1341298055,), (1341298058,), (1341298064,), (1341298460,), (1341298464,), (1341298499,), (1341298506,), (1341298510,), (1341298703,), (1341298726,), (1341298772,), (1341298777,), (1341298810,), (1341298813,), (1341298817,), (1341298822,), (1341298826,), (1341298831,), (1341298855,), (1341298857,), (1341298865,), (1341298891,), (1341298905,), (1341298953,), (1341298938,), (1341298945,), (1341298949,), (1341298984,), (1341298986,), (1341298991,), (1341298996,), (1341299000,), (1341299004,), (1341299252,), (1341299255,), (1341299261,), (1341299334,), (1341299389,), (1341299392,), (1341299397,), (1341299402,), (1341299405,), (1341299410,), (1341299461,), (1341299465,), (1341299470,), (1341299501,), (1341299589,), (1341299674,), (1341300659,), (1341300696,), (1341300700,), (1341300711,), (1341300796,), (1341300802,), (1341300808,), (1341300816,), (1341300821,), (1341300857,), (1341300859,), (1341300864,), (1341300869,), (1341301087,), (1341301172,), (1341301539,), (1341301540,), (1341301544,), (1341301566,), (1341301776,), (1341301797,), (1341301808,), (1341301816,), (1341301821,), (1341301834,), (1341301876,), (1341301881,), (1341301895,), (1341302571,), (1341305988,), (1341305991,), (1341306471,), (1341306626,), (1341306670,), (1341306673,), (1341306807,), (1341306812,), (1341307213,), (1341263798,), (1341263846,), (1341263851,), (1341263892,), (1341263897,), (1341263903,), (1341263908,), (1341263941,), (1341263947,), (1341263951,), (1341263957,), (1341263962,), (1341263970,), (1341263989,), (1341263994,), (1341264042,), (1341264045,), (1341264048,), (1341264112,), (1341264123,), (1341264130,), (1341264135,), (1341264148,), (1341264151,), (1341264153,), (1341264154,), (1341264158,), (1341264161,), (1341264165,), (1341264167,), (1341264172,), (1341264174,), (1341264191,), (1341264183,), (1341264187,), (1341264230,), (1341264233,), (1341264241,), (1341264245,), (1341264280,), (1341264282,), (1341264291,), (1341264296,), (1341264301,), (1341264306,), (1341264327,), (1341264332,), (1341264345,), (1341264350,), (1341264354,), (1341264377,), (1341264382,), (1341264389,), (1341264420,), (1341264424,), (1341264432,), (1341264436,), (1341264442,), (1341278202,), (1341278204,), (1341278210,), (1341278215,), (1341278246,), (1341278289,), (1341278300,), (1341278306,), (1341278312,), (1341278323,), (1341278326,), (1341278330,), (1341278332,), (1341278334,), (1341278336,), (1341278376,), (1341278379,), (1341278700,), (1341278706,), (1341278713,), (1341278719,), (1341278721,), (1341278729,), (1341278777,), (1341278796,), (1341278800,), (1341278804,), (1341278809,), (1341278814,), (1341278819,), (1341278822,), (1341278825,), (1341278831,), (1341278834,), (1341278869,), (1341278874,), (1341278877,), (1341276583,), (1341276590,), (1341276594,), (1341276600,), (1341276603,), (1341276610,), (1341276615,), (1341276652,), (1341276657,), (1341276663,), (1341276666,), (1341276670,), (1341276673,), (1341276706,), (1341276749,), (1341276753,), (1341276756,), (1341276789,), (1341276798,), (1341276808,), (1341276816,), (1341276823,), (1341276838,), (1341276883,), (1341276944,), (1341276997,), (1341277002,), (1341277006,), (1341277017,), (1341277021,), (1341277023,), (1341277431,), (1341277740,), (1341277742,), (1341277745,), (1341277749,), (1341277750,), (1341277754,), (1341277999,), (1341278023,), (1341278028,), (1341278034,), (1341278038,), (1341278040,), (1341278050,), (1341278092,), (1341278095,), (1341278098,), (1341278123,), (1341278127,), (1341278136,), (1341278139,), (1341278143,), (1341278146,), (1341278149,), (1341278153,), (1341278176,), (1341278180,), (1341278185,), (1341278193,), (1341278197,), (1341275274,), (1341275278,), (1341275285,), (1341275289,), (1341275291,), (1341275316,), (1341275321,), (1341275325,), (1341275363,), (1341275370,), (1341275373,), (1341275377,), (1341275380,), (1341275385,), (1341275390,), (1341275488,), (1341275495,), (1341275506,), (1341275510,), (1341275514,), (1341275517,), (1341275527,), (1341275546,), (1341275633,), (1341275663,), (1341275670,), (1341275674,), (1341275677,), (1341275681,), (1341275719,), (1341275829,), (1341276007,), (1341276012,), (1341276024,), (1341276031,), (1341276039,), (1341276043,), (1341276046,), (1341276049,), (1341276088,), (1341276093,), (1341276475,), (1341276486,), (1341276491,), (1341276495,), (1341276501,), (1341276506,), (1341276534,), (1341276539,), (1341272706,), (1341272713,), (1341272740,), (1341272751,), (1341272757,), (1341272764,), (1341272768,), (1341272772,), (1341272832,), (1341272883,), (1341272888,), (1341272962,), (1341273152,), (1341273240,), (1341273337,), (1341273426,), (1341273516,), (1341273603,), (1341273714,), (1341273718,), (1341273766,), (1341273771,), (1341273782,), (1341273790,), (1341273881,), (1341273964,), (1341274067,), (1341274072,), (1341274145,), (1341274160,), (1341274281,), (1341274497,), (1341274503,), (1341274514,), (1341274517,), (1341274670,), (1341274751,), (1341274761,), (1341274817,), (1341274821,), (1341274826,), (1341274830,), (1341274838,), (1341274842,), (1341274878,), (1341274937,), (1341274942,), (1341274951,), (1341274955,), (1341274964,), (1341274969,), (1341275007,), (1341275055,), (1341275060,), (1341275067,), (1341275071,), (1341275079,), (1341275080,), (1341275124,), (1341275137,), (1341275140,), (1341275261,), (1341275270,), (1341272069,), (1341272074,), (1341272085,), (1341272111,), (1341272113,), (1341272114,), (1341272117,), (1341272120,), (1341272129,), (1341272133,), (1341272136,), (1341272138,), (1341272141,), (1341272148,), (1341272154,), (1341272157,), (1341272160,), (1341272161,), (1341272163,), (1341272167,), (1341272180,), (1341272183,), (1341272195,), (1341272241,), (1341272256,), (1341272305,), (1341272343,), (1341272353,), (1341272390,), (1341272398,), (1341272413,), (1341272418,), (1341272447,), (1341272484,), (1341272486,), (1341272500,), (1341272510,), (1341272518,), (1341272549,), (1341272552,), (1341272555,), (1341272558,), (1341272561,), (1341272563,), (1341272578,), (1341272583,), (1341272587,), (1341272588,), (1341272591,), (1341272622,), (1341272631,), (1341272640,), (1341272643,), (1341272646,), (1341272655,), (1341272659,), (1341272665,), (1341272669,), (1341272672,), (1341272675,), (1341272678,), (1341272690,), (1341272695,), (1341272701,), (1341270467,), (1341270472,), (1341270478,), (1341270483,), (1341270487,), (1341270496,), (1341270498,), (1341270500,), (1341270501,), (1341270504,), (1341270505,), (1341270516,), (1341270522,), (1341270659,), (1341270721,), (1341270779,), (1341270790,), (1341271002,), (1341271081,), (1341271139,), (1341271144,), (1341271147,), (1341271199,), (1341271252,), (1341271293,), (1341271304,), (1341271307,), (1341271332,), (1341271436,), (1341271439,), (1341271471,), (1341271484,), (1341271486,), (1341271542,), (1341271551,), (1341271554,), (1341271556,), (1341271560,), (1341271621,), (1341271639,), (1341271694,), (1341271699,), (1341271722,), (1341271725,), (1341271728,), (1341271735,), (1341271745,), (1341271749,), (1341271751,), (1341271752,), (1341271753,), (1341271756,), (1341271757,), (1341271761,), (1341271762,), (1341271778,), (1341271779,), (1341271782,), (1341271787,), (1341271851,), (1341271854,), (1341271871,), (1341271879,), (1341271886,), (1341271932,), (1341271946,), (1341271955,), (1341271965,), (1341271986,), (1341271989,), (1341272003,), (1341272006,), (1341272013,), (1341272060,), (1341270070,), (1341270073,), (1341270077,), (1341270080,), (1341270087,), (1341270099,), (1341270104,), (1341270108,), (1341270116,), (1341270119,), (1341270124,), (1341270134,), (1341270140,), (1341270145,), (1341270151,), (1341270155,), (1341270160,), (1341270171,), (1341270179,), (1341270183,), (1341270187,), (1341270194,), (1341270201,), (1341270216,), (1341270227,), (1341270240,), (1341270249,), (1341270256,), (1341270259,), (1341270283,), (1341270288,), (1341270292,), (1341270339,), (1341270356,), (1341270360,), (1341270377,), (1341270379,), (1341270384,), (1341270387,), (1341270391,), (1341270408,), (1341270436,), (1341270437,), (1341270442,), (1341270443,), (1341270444,), (1341270445,), (1341270447,), (1341270448,), (1341270449,), (1341270450,), (1341270451,), (1341270453,), (1341270462,), (1341269578,), (1341269625,), (1341269643,), (1341269668,), (1341269671,), (1341269672,), (1341269757,), (1341269761,), (1341269768,), (1341269770,), (1341269774,), (1341269777,), (1341269795,), (1341269798,), (1341269804,), (1341269810,), (1341269813,), (1341269820,), (1341269824,), (1341269831,), (1341269838,), (1341269845,), (1341269852,), (1341269863,), (1341269870,), (1341269873,), (1341269876,), (1341269879,), (1341269883,), (1341269898,), (1341269902,), (1341269909,), (1341270023,), (1341270048,), (1341270054,), (1341270066,), (1341268332,), (1341268337,), (1341268340,), (1341268347,), (1341268361,), (1341268365,), (1341268385,), (1341268395,), (1341268408,), (1341268413,), (1341268417,), (1341268423,), (1341268451,), (1341268460,), (1341268467,), (1341268471,), (1341268475,), (1341268479,), (1341268512,), (1341268514,), (1341268519,), (1341268521,), (1341268522,), (1341268524,), (1341268525,), (1341268530,), (1341268531,), (1341268535,), (1341268536,), (1341268541,), (1341268550,), (1341268552,), (1341268555,), (1341268558,), (1341268561,), (1341268567,), (1341268580,), (1341268594,), (1341268602,), (1341268605,), (1341268613,), (1341268626,), (1341268958,), (1341268969,), (1341268974,), (1341268983,), (1341268986,), (1341268991,), (1341269136,), (1341269154,), (1341269159,), (1341269164,), (1341269167,), (1341269195,), (1341269209,), (1341269216,), (1341269222,), (1341269226,), (1341269230,), (1341269234,), (1341269378,), (1341269379,), (1341269383,), (1341269384,), (1341269387,), (1341269388,), (1341269392,), (1341269399,), (1341269403,), (1341269406,), (1341269410,), (1341269411,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'06032025': {'nb_upload': 62, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21119031]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] map_info['map_portfolio_photo'] : {21119031: [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524, 1341267509, 1341267407, 1341267402, 1341267380, 1341267371, 1341267367, 1341267318, 1341267247, 1341267244, 1341267036, 1341267005, 1341266999, 1341266993, 1341266983, 1341266979, 1341266974, 1341266921, 1341266918, 1341266914, 1341266905, 1341266898]} final : True mtd_id 4302 list_pids : [1341268325, 1341268322, 1341268318, 1341268313, 1341268291, 1341268286, 1341268282, 1341268212, 1341268202, 1341268173, 1341268161, 1341268154, 1341268145, 1341268133, 1341268130, 1341268126, 1341268033, 1341268022, 1341268019, 1341267985, 1341267980, 1341267977, 1341267872, 1341267868, 1341267761, 1341267745, 1341267740, 1341267668, 1341267662, 1341267658, 1341267634, 1341267630, 1341267614, 1341267587, 1341267586, 1341267557, 1341267554, 1341267551, 1341267545, 1341267535, 1341267524] Looping around the photos to save general results len do output : 1 /21119031Didn'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, '2643399') ('4302', '21119031', '1341268325', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399') ('4302', None, None, None, None, None, None, None, '2643399') ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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, '21119031', 'None', None, None, None, None, '2643399'), ('4302', '21119031', '1341268325', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268322', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268318', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268313', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268291', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268286', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268282', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268212', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268202', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268173', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268161', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268154', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268145', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268133', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268130', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268126', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268033', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268022', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341268019', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267985', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267980', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267977', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267872', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267868', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267761', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267745', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267740', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267668', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267662', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267658', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267634', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267630', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267614', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267587', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267586', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267557', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267554', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267551', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267545', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267535', None, None, None, None, None, '2643399'), ('4302', '21119031', '1341267524', None, None, None, None, None, '2643399')] time used for this insertion : 0.3220686912536621 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.201766967773438 time spend to save output : 0.32250118255615234 total time spend for step 5 : 11.52426815032959 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 (2643399) 3.20user 2.43system 0:22.14elapsed 25%CPU (0avgtext+0avgdata 160260maxresident)k 3704inputs+26504outputs (37major+85945minor)pagefaults 0swaps