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 : 959824 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 (2772232) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2772232) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499161 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2772232'] with mtr_portfolio_ids : ['22499161'] and first list_photo_ids : [] new path : /proc/959824/ Name: python3 Umask: 0002 State: R (running) Tgid: 959824 Ngid: 0 Pid: 959824 PPid: 959823 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 959824 NSpid: 959824 NSpgid: 956195 NSsid: 956195 VmPeak: 1107756 kB VmSize: 1107756 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 100328 kB VmRSS: 100328 kB RssAnon: 60712 kB RssFile: 39616 kB RssShmem: 0 kB VmData: 866504 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 616 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '959824', 'Ngid': '0', 'Pid': '959824', 'PPid': '959823', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '959824', 'NSpid': '959824', 'NSpgid': '956195', 'NSsid': '956195', 'VmPeak': '1107756 kB', 'VmSize': '1107756 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '100328 kB', 'VmRSS': '100328 kB', 'RssAnon': '60712 kB', 'RssFile': '39616 kB', 'RssShmem': '0 kB', 'VmData': '866504 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '616 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '959824', '1107756', '0', '1107756', '866504', '100328', b'', 'marlene', '2772232') 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 (22499161) 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 (2772232 ) ) 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 (22499161) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1354261048, 'portfolio_id': 22499161}, {'photo_id': 1354260631, 'portfolio_id': 22499161}, {'photo_id': 1354260611, 'portfolio_id': 22499161}, {'photo_id': 1354260596, 'portfolio_id': 22499161}, {'photo_id': 1354260544, 'portfolio_id': 22499161}, {'photo_id': 1354260514, 'portfolio_id': 22499161}, {'photo_id': 1354260078, 'portfolio_id': 22499161}, {'photo_id': 1354260074, 'portfolio_id': 22499161}, {'photo_id': 1354260070, 'portfolio_id': 22499161}, {'photo_id': 1354260067, 'portfolio_id': 22499161}, {'photo_id': 1354260044, 'portfolio_id': 22499161}, {'photo_id': 1354260039, 'portfolio_id': 22499161}, {'photo_id': 1354260024, 'portfolio_id': 22499161}, {'photo_id': 1354259996, 'portfolio_id': 22499161}, {'photo_id': 1354259942, 'portfolio_id': 22499161}, {'photo_id': 1354259725, 'portfolio_id': 22499161}, {'photo_id': 1354259178, 'portfolio_id': 22499161}, {'photo_id': 1354259052, 'portfolio_id': 22499161}, {'photo_id': 1354258951, 'portfolio_id': 22499161}, {'photo_id': 1354258837, 'portfolio_id': 22499161}, {'photo_id': 1354258085, 'portfolio_id': 22499161}, {'photo_id': 1354258063, 'portfolio_id': 22499161}, {'photo_id': 1354257782, 'portfolio_id': 22499161}, {'photo_id': 1354257750, 'portfolio_id': 22499161}, {'photo_id': 1354257246, 'portfolio_id': 22499161}, {'photo_id': 1354257112, 'portfolio_id': 22499161}, {'photo_id': 1354257083, 'portfolio_id': 22499161}, {'photo_id': 1354257053, 'portfolio_id': 22499161}, {'photo_id': 1354257024, 'portfolio_id': 22499161}, {'photo_id': 1354256992, 'portfolio_id': 22499161}, {'photo_id': 1354256456, 'portfolio_id': 22499161}, {'photo_id': 1354256428, 'portfolio_id': 22499161}, {'photo_id': 1354256388, 'portfolio_id': 22499161}, {'photo_id': 1354256336, 'portfolio_id': 22499161}, {'photo_id': 1354255850, 'portfolio_id': 22499161}, {'photo_id': 1354255814, 'portfolio_id': 22499161}, {'photo_id': 1354255466, 'portfolio_id': 22499161}] map_portfolio_id_photo_id: {22499161: [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466]} ##### 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.022381305694580078 #### 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 Wed Apr 30 05:50:58 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 (22499161) 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 : 22499161 get user id for portfolio 22499161 get sub ptf for main ptf 22499161, type 3726 and hashtags ['kraft', 'Teint_Dans_La_Masse', 'metal', 'papier', 'flou', 'Carton_gris', 'Carton_brun', 'autre_refus', 'environnement', 'cartonnette', 'plastique', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22499161 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','plastique','mal_croppe')) 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`=22499161 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','plastique','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22499161, 'sub_port_id': 22499162, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938400, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'Carton_gris': {'main_port_id': 22499161, 'sub_port_id': 22499163, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938401, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'autre_refus': {'main_port_id': 22499161, 'sub_port_id': 22499164, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938402, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'Teint_Dans_La_Masse': {'main_port_id': 22499161, 'sub_port_id': 22499165, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938403, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'metal': {'main_port_id': 22499161, 'sub_port_id': 22499166, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938404, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'mal_croppe': {'main_port_id': 22499161, 'sub_port_id': 22499167, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938405, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'environnement': {'main_port_id': 22499161, 'sub_port_id': 22499168, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938406, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'plastique': {'main_port_id': 22499161, 'sub_port_id': 22499169, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938407, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'flou': {'main_port_id': 22499161, 'sub_port_id': 22499170, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938408, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'Carton_brun': {'main_port_id': 22499161, 'sub_port_id': 22499171, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938409, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'kraft': {'main_port_id': 22499161, 'sub_port_id': 22499172, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938410, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}, 'papier': {'main_port_id': 22499161, 'sub_port_id': 22499173, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938411, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22499162 , 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=22499161 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 (22499162) result : ((1354260054,), (1354260888,), (1354262880,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499163 , 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=22499161 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 (22499163) result : ((1354257545,), (1354257546,), (1354258470,), (1354260887,), (1354261254,), (1354262853,), (1354262855,), (1354262856,), (1354262857,), (1354270762,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499164 , 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=22499161 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 (22499164) result : ((1354257480,), (1354257533,), (1354257534,), (1354260053,), (1354262288,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499165 , 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=22499161 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 (22499165) result : ((1354257473,), (1354260049,), (1354260050,), (1354260885,), (1354261252,), (1354261253,), (1354262812,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499166 , 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=22499161 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 (22499166) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499167 , 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=22499161 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 (22499167) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499168 , 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=22499161 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 (22499168) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499169 , 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=22499161 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 (22499169) result : ((1354257592,), (1354260056,), (1354260890,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499170 , 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=22499161 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 (22499170) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499171 , 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=22499161 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 (22499171) result : ((1354257488,), (1354257489,), (1354257575,), (1354257576,), (1354257577,), (1354257579,), (1354258488,), (1354261256,), (1354262898,), (1354262900,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499172 , 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=22499161 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 (22499172) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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 22499173 , 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=22499161 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 (22499173) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22499161) result : ((1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,)) 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`=22499161 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','plastique','mal_croppe')) 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`=22499161 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('kraft','Teint_Dans_La_Masse','metal','papier','flou','Carton_gris','Carton_brun','autre_refus','environnement','cartonnette','plastique','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 22499161, 'sub_port_id': 22499174, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938412, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'Carton_gris': {'main_port_id': 22499161, 'sub_port_id': 22499175, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938413, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'autre_refus': {'main_port_id': 22499161, 'sub_port_id': 22499176, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938414, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 22499161, 'sub_port_id': 22499177, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938415, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'metal': {'main_port_id': 22499161, 'sub_port_id': 22499178, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938416, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'mal_croppe': {'main_port_id': 22499161, 'sub_port_id': 22499179, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938417, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'environnement': {'main_port_id': 22499161, 'sub_port_id': 22499180, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938418, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'plastique': {'main_port_id': 22499161, 'sub_port_id': 22499181, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938419, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'flou': {'main_port_id': 22499161, 'sub_port_id': 22499182, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938420, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'Carton_brun': {'main_port_id': 22499161, 'sub_port_id': 22499183, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938421, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'kraft': {'main_port_id': 22499161, 'sub_port_id': 22499184, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938422, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 7, 1), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}, 'papier': {'main_port_id': 22499161, 'sub_port_id': 22499185, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14938423, 'last_updated_at': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 29, 14, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 29, 14, 7, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499174,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499162 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499175,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499163 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499176,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499164 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499177,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499165 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499178,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499166 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499179,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499167 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499180,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499168 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499181,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499169 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499182,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499170 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499183,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499171 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499184,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499172 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22499185,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22499173 lien utilise dans velours : https://www.fotonower.com/velours/22499174,22499175,22499176,22499177,22499178,22499179,22499180,22499181,22499182,22499183,22499184,22499185?tags=cartonnette,Carton_gris,autre_refus,Teint_Dans_La_Masse,metal,mal_croppe,environnement,plastique,flou,Carton_brun,kraft,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22499161]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] map_info['map_portfolio_photo'] : {22499161: [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466]} final : False mtd_id 4302 list_pids : [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] Looping around the photos to save general results len do output : 1 /22499161. 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, '2772232') ('4302', '22499161', '1354261048', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '22499161', "{'cartonnette': 22499162, 'Carton_gris': 22499163, 'autre_refus': 22499164, 'Teint_Dans_La_Masse': 22499165, 'metal': 22499166, 'mal_croppe': 22499167, 'environnement': 22499168, 'plastique': 22499169, 'flou': 22499170, 'Carton_brun': 22499171, 'kraft': 22499172, 'papier': 22499173}", None, None, None, None, '2772232'), ('4302', '22499161', '1354261048', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232')] time used for this insertion : 0.021798372268676758 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.3973743915557861 time spend to save output : 0.022219181060791016 total time spend for step 1 : 1.4195935726165771 step2:final Wed Apr 30 05:50:59 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 (22499161) 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 22499161 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1354255466,1354255850,1354255814,1354256456,1354256428,1354256388,1354256336,1354257112,1354257083,1354257053,1354257024,1354256992,1354257246,1354257782,1354257750,1354258085,1354258063,1354259178,1354259052,1354258951,1354258837,1354260044,1354260039,1354259725,1354260024,1354259996,1354259942,1354260078,1354260074,1354260070,1354260067,1354260631,1354260611,1354260596,1354260544,1354260514,1354261048); 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([22499161]) Inside saveOutput : final : False verbose : True original output for save of step final : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} new output for save of step final : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] map_info['map_portfolio_photo'] : {22499161: [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466]} final : False mtd_id 4302 list_pids : [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] Looping around the photos to save general results len do output : 37 /1354261048.Didn't retrieve data . /1354260631.Didn't retrieve data . /1354260611.Didn't retrieve data . /1354260596.Didn't retrieve data . /1354260544.Didn't retrieve data . /1354260514.Didn't retrieve data . /1354260078.Didn't retrieve data . /1354260074.Didn't retrieve data . /1354260070.Didn't retrieve data . /1354260067.Didn't retrieve data . /1354260044.Didn't retrieve data . /1354260039.Didn't retrieve data . /1354260024.Didn't retrieve data . /1354259996.Didn't retrieve data . /1354259942.Didn't retrieve data . /1354259725.Didn't retrieve data . /1354259178.Didn't retrieve data . /1354259052.Didn't retrieve data . /1354258951.Didn't retrieve data . /1354258837.Didn't retrieve data . /1354258085.Didn't retrieve data . /1354258063.Didn't retrieve data . /1354257782.Didn't retrieve data . /1354257750.Didn't retrieve data . /1354257246.Didn't retrieve data . /1354257112.Didn't retrieve data . /1354257083.Didn't retrieve data . /1354257053.Didn't retrieve data . /1354257024.Didn't retrieve data . /1354256992.Didn't retrieve data . /1354256456.Didn't retrieve data . /1354256428.Didn't retrieve data . /1354256388.Didn't retrieve data . /1354256336.Didn't retrieve data . /1354255850.Didn't retrieve data . /1354255814.Didn't retrieve data . /1354255466.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, '2772232') ('4302', '22499161', '1354261048', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '22499161', '1354261048', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260631', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260611', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260596', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260544', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260514', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260078', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260074', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260070', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260067', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260044', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260039', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354260024', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354259996', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354259942', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354259725', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354259178', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354259052', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354258951', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354258837', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354258085', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354258063', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257782', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257750', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257246', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257112', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257083', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257053', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354257024', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354256992', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354256456', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354256428', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354256388', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354256336', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354255850', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354255814', '0.035568098288558815', None, None, None, None, '2772232'), ('4302', '22499161', '1354255466', '0.035568098288558815', None, None, None, None, '2772232')] time used for this insertion : 0.018662214279174805 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.0666966438293457 time spend to save output : 0.020177364349365234 total time spend for step 2 : 0.08687400817871094 step3:velours_tree Wed Apr 30 05:50:59 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 : {22499161: [{'cartonnette': 22499162, 'Carton_gris': 22499163, 'autre_refus': 22499164, 'Teint_Dans_La_Masse': 22499165, 'metal': 22499166, 'mal_croppe': 22499167, 'environnement': 22499168, 'plastique': 22499169, 'flou': 22499170, 'Carton_brun': 22499171, 'kraft': 22499172, 'papier': 22499173}]} input_args_next_step : {22499161: ()} output_args : {22499161: [{'cartonnette': 22499162, 'Carton_gris': 22499163, 'autre_refus': 22499164, 'Teint_Dans_La_Masse': 22499165, 'metal': 22499166, 'mal_croppe': 22499167, 'environnement': 22499168, 'plastique': 22499169, 'flou': 22499170, 'Carton_brun': 22499171, 'kraft': 22499172, 'papier': 22499173}]} args : 22499161 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 : ({'cartonnette': 22499162, 'Carton_gris': 22499163, 'autre_refus': 22499164, 'Teint_Dans_La_Masse': 22499165, 'metal': 22499166, 'mal_croppe': 22499167, 'environnement': 22499168, 'plastique': 22499169, 'flou': 22499170, 'Carton_brun': 22499171, 'kraft': 22499172, 'papier': 22499173},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22499161) 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([22499161]) 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.3059542179107666 time spend to save output : 5.626678466796875e-05 total time spend for step 3 : 0.30601048469543457 step4:send_mail_cod Wed Apr 30 05:51:00 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 : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} input_args_next_step : {1354261048: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354261048 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260631 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260611 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260596 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260544 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260514 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260078 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260074 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260070 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260067 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260044 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260039 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354260024 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354259996 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354259942 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354259725 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354259178 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354259052 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354258951 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354258837 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354258085 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354258063 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257782 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257750 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257246 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257112 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257083 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257053 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354257024 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354256992 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354256456 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354256428 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354256388 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354256336 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354255850 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354255814 depend.output_id : 0 input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ()} output_args : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',)} args : 1354255466 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 : {22499161: [{'cartonnette': 22499162, 'Carton_gris': 22499163, 'autre_refus': 22499164, 'Teint_Dans_La_Masse': 22499165, 'metal': 22499166, 'mal_croppe': 22499167, 'environnement': 22499168, 'plastique': 22499169, 'flou': 22499170, 'Carton_brun': 22499171, 'kraft': 22499172, 'papier': 22499173}]} input_args_next_step : {1354261048: ('0.035568098288558815',), 1354260631: ('0.035568098288558815',), 1354260611: ('0.035568098288558815',), 1354260596: ('0.035568098288558815',), 1354260544: ('0.035568098288558815',), 1354260514: ('0.035568098288558815',), 1354260078: ('0.035568098288558815',), 1354260074: ('0.035568098288558815',), 1354260070: ('0.035568098288558815',), 1354260067: ('0.035568098288558815',), 1354260044: ('0.035568098288558815',), 1354260039: ('0.035568098288558815',), 1354260024: ('0.035568098288558815',), 1354259996: ('0.035568098288558815',), 1354259942: ('0.035568098288558815',), 1354259725: ('0.035568098288558815',), 1354259178: ('0.035568098288558815',), 1354259052: ('0.035568098288558815',), 1354258951: ('0.035568098288558815',), 1354258837: ('0.035568098288558815',), 1354258085: ('0.035568098288558815',), 1354258063: ('0.035568098288558815',), 1354257782: ('0.035568098288558815',), 1354257750: ('0.035568098288558815',), 1354257246: ('0.035568098288558815',), 1354257112: ('0.035568098288558815',), 1354257083: ('0.035568098288558815',), 1354257053: ('0.035568098288558815',), 1354257024: ('0.035568098288558815',), 1354256992: ('0.035568098288558815',), 1354256456: ('0.035568098288558815',), 1354256428: ('0.035568098288558815',), 1354256388: ('0.035568098288558815',), 1354256336: ('0.035568098288558815',), 1354255850: ('0.035568098288558815',), 1354255814: ('0.035568098288558815',), 1354255466: ('0.035568098288558815',), 22499161: ()} output_args : {22499161: [{'cartonnette': 22499162, 'Carton_gris': 22499163, 'autre_refus': 22499164, 'Teint_Dans_La_Masse': 22499165, 'metal': 22499166, 'mal_croppe': 22499167, 'environnement': 22499168, 'plastique': 22499169, 'flou': 22499170, 'Carton_brun': 22499171, 'kraft': 22499172, 'papier': 22499173}]} args : 22499161 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 :38, first value : ('0.035568098288558815',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22499161) 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 (1354261048,1354260631,1354260611,1354260596,1354260544,1354260514,1354260078,1354260074,1354260070,1354260067,1354260044,1354260039,1354260024,1354259996,1354259942,1354259725,1354259178,1354259052,1354258951,1354258837,1354258085,1354258063,1354257782,1354257750,1354257246,1354257112,1354257083,1354257053,1354257024,1354256992,1354256456,1354256428,1354256388,1354256336,1354255850,1354255814,1354255466) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1354255466 begin to download photo : 1354257024 begin to download photo : 1354258085 begin to download photo : 1354260024 begin to download photo : 1354260544 download finish for photo 1354255466 begin to download photo : 1354255814 download finish for photo 1354260024 begin to download photo : 1354260039 download finish for photo 1354260544 begin to download photo : 1354260596 download finish for photo 1354258085 begin to download photo : 1354258837 download finish for photo 1354257024 begin to download photo : 1354257053 download finish for photo 1354255814 begin to download photo : 1354255850 download finish for photo 1354260039 begin to download photo : 1354260044 download finish for photo 1354260596 begin to download photo : 1354260611 download finish for photo 1354258837 begin to download photo : 1354258951 download finish for photo 1354257053 begin to download photo : 1354257083 download finish for photo 1354260044 begin to download photo : 1354260067 download finish for photo 1354255850 begin to download photo : 1354256336 download finish for photo 1354258951 begin to download photo : 1354259052 download finish for photo 1354257083 begin to download photo : 1354257112 download finish for photo 1354260611 begin to download photo : 1354260631 download finish for photo 1354260067 begin to download photo : 1354260070 download finish for photo 1354257112 begin to download photo : 1354257246 download finish for photo 1354256336 begin to download photo : 1354256388 download finish for photo 1354259052 begin to download photo : 1354259178 download finish for photo 1354260631 begin to download photo : 1354261048 download finish for photo 1354260070 begin to download photo : 1354260074 download finish for photo 1354259178 begin to download photo : 1354259725 download finish for photo 1354257246 begin to download photo : 1354257750 download finish for photo 1354256388 begin to download photo : 1354256428 download finish for photo 1354261048 download finish for photo 1354259725 begin to download photo : 1354259942 download finish for photo 1354256428 begin to download photo : 1354256456 download finish for photo 1354257750 begin to download photo : 1354257782 download finish for photo 1354260074 begin to download photo : 1354260078 download finish for photo 1354256456 begin to download photo : 1354256992 download finish for photo 1354259942 begin to download photo : 1354259996 download finish for photo 1354257782 begin to download photo : 1354258063 download finish for photo 1354260078 begin to download photo : 1354260514 download finish for photo 1354256992 download finish for photo 1354259996 download finish for photo 1354260514 download finish for photo 1354258063 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P22499161_30-04-2025_05_51_01.pdf 22499162 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=22499162 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354260054: '1745928792_89967_1354258951_24d881b451560384c72cab9bfd70de50_rle_crop_3772979601_0.png', 1354260888: '1745928913_91506_1354260074_8116b802276f263a3e10469bd6f5d3cd_rle_crop_3772981833_0.png', 1354262880: '1745929092_94462_1354260024_afcab875a908d91937e73d732312a3e7_rle_crop_3772985526_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/023245107f80ec53c5f99d579d07e9ba_61086475.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/6b70b5540f5135f075c37efc04dce962_99156831.png change filename to text .imagette224991621745985061/ imagette224991621745985061/1745929092_94462_1354260024_afcab875a908d91937e73d732312a3e7_rle_crop_3772985526_0.png.png imagette224991621745985061/1745928913_91506_1354260074_8116b802276f263a3e10469bd6f5d3cd_rle_crop_3772981833_0.png.png imagette224991621745985061/1745928792_89967_1354258951_24d881b451560384c72cab9bfd70de50_rle_crop_3772979601_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/9808131b8181c4bbd08f99cae5288300_80470464.png imagette224991621745985061 22499164 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=22499164 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354257480: '1745928541_86418_1354256388_e4feb6634c27dc5703e8202810c567a6_rle_crop_3772965631_0.png', 1354257533: '1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965776_0.png', 1354257534: '1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965789_0.png', 1354260053: '1745928792_89967_1354258951_24d881b451560384c72cab9bfd70de50_rle_crop_3772979604_0.png', 1354262288: '1745929063_191468_1354260544_b3d358ada0362c4101e3ea02b855bb46_rle_crop_3772985139_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/a3862072484754f02cd76e32ea311657_59841253.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ee302cfa5b1a14470303c13ecca8cc5b_36620651.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/83566a2fd365282fe802a828a725705e_19888677.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/43481c4be1a6f765af0577c19bc02f83_18201069.png change filename to text .imagette224991641745985061/ imagette224991641745985061/1745928541_86418_1354256388_e4feb6634c27dc5703e8202810c567a6_rle_crop_3772965631_0.png.png imagette224991641745985061/1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965776_0.png.png imagette224991641745985061/1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965789_0.png.png imagette224991641745985061/1745928792_89967_1354258951_24d881b451560384c72cab9bfd70de50_rle_crop_3772979604_0.png.png imagette224991641745985061/1745929063_191468_1354260544_b3d358ada0362c4101e3ea02b855bb46_rle_crop_3772985139_0.png.png imagette224991661745985062/ imagette224991671745985062/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/e5fce723b8bfc46ba22cbb1f8d6e04c1_63163570.png imagette224991641745985061 22499166 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=22499166 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224991661745985062 22499167 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=22499167 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224991671745985062 22499169 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=22499169 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354257592: '1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965792_0.png', 1354260056: '1745928792_89967_1354258951_24d881b451560384c72cab9bfd70de50_rle_crop_3772979612_0.png', 1354260890: '1745928913_91506_1354260067_521192a82429c555f1fff8055e898cea_rle_crop_3772982127_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ff443702e226ab81e4442e3a28ae5a5a_84991346.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/90812bec3267cd38a196c8b691d76996_34467448.png change filename to text .imagette224991691745985062/ imagette224991691745985062/1745928792_89967_1354258951_24d881b451560384c72cab9bfd70de50_rle_crop_3772979612_0.png.png imagette224991691745985062/1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965792_0.png.png imagette224991691745985062/1745928913_91506_1354260067_521192a82429c555f1fff8055e898cea_rle_crop_3772982127_0.png.png imagette224991701745985062/ imagette224991721745985062/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2cb4c5e12a2870800af69a1c74ed874f_11384799.png imagette224991691745985062 22499170 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=22499170 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224991701745985062 22499172 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=22499172 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette224991721745985062 22499163 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=22499163 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354257545: '1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965781_0.png', 1354257546: '1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965791_0.png', 1354258470: '1745928671_88298_1354257053_52f63e67751557b00a90ddef1c394864_rle_crop_3772974040_0.png', 1354260887: '1745928913_91506_1354260067_521192a82429c555f1fff8055e898cea_rle_crop_3772982130_0.png', 1354261254: '1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983742_0.png', 1354262853: '1745929092_94462_1354260039_39e00ac498433fb184c598ba7328ed0e_rle_crop_3772985514_0.png', 1354262855: '1745929092_94462_1354260039_39e00ac498433fb184c598ba7328ed0e_rle_crop_3772985517_0.png', 1354262856: '1745929092_94462_1354259996_a122653fa8f6a8e4864fc0613bcc629c_rle_crop_3772985542_0.png', 1354262857: '1745929092_94462_1354259942_e3fd6b4aedc98df21d1f91e7c51c5284_rle_crop_3772985551_0.png', 1354270762: '1745930531_110833_1354258063_2ce66253797e4e59f259dbbde21f536e_rle_crop_3773038186_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/786122446b3c5e722185b630a18b8cc8_52042833.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/59e3a67670cffb0ae278cb40965708a5_48093871.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f1033a2120de086b848d0bb221c63b3e_33679671.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/836637da2de199b36a3fd999cc145c3d_52544844.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/1660f93e999f13ec4ce6e91c26f3997c_39411255.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/135dd6fa3ef2256e24057cdaa1453d59_24487591.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7989f2afe57ed34d0d0ae08f230f2db8_83386454.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ba483bcba9c51434e1f6ed1cd0ecffff_4180646.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b44c5c8d018f79bc48567c4af3331f33_28590654.png change filename to text .imagette224991631745985062/ imagette224991631745985062/1745929092_94462_1354259996_a122653fa8f6a8e4864fc0613bcc629c_rle_crop_3772985542_0.png.png imagette224991631745985062/1745928671_88298_1354257053_52f63e67751557b00a90ddef1c394864_rle_crop_3772974040_0.png.png imagette224991631745985062/1745928913_91506_1354260067_521192a82429c555f1fff8055e898cea_rle_crop_3772982130_0.png.png imagette224991631745985062/1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965781_0.png.png imagette224991631745985062/1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983742_0.png.png imagette224991631745985062/1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965791_0.png.png imagette224991631745985062/1745929092_94462_1354260039_39e00ac498433fb184c598ba7328ed0e_rle_crop_3772985517_0.png.png imagette224991631745985062/1745930531_110833_1354258063_2ce66253797e4e59f259dbbde21f536e_rle_crop_3773038186_0.png.png imagette224991631745985062/1745929092_94462_1354260039_39e00ac498433fb184c598ba7328ed0e_rle_crop_3772985514_0.png.png imagette224991631745985062/1745929092_94462_1354259942_e3fd6b4aedc98df21d1f91e7c51c5284_rle_crop_3772985551_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/7c0d9aace7a33e0dffe1f337ef06a8ce_38677491.png imagette224991631745985062 22499165 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=22499165 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354257473: '1745928541_86418_1354256336_c6ea3e20500c87b602a9ca3ba0a1e751_rle_crop_3772965644_0.png', 1354260049: '1745928792_89967_1354258837_b21732442c93048a91077b6b0b8e810c_rle_crop_3772979623_0.png', 1354260050: '1745928792_89967_1354258837_b21732442c93048a91077b6b0b8e810c_rle_crop_3772979620_0.png', 1354260885: '1745928913_91506_1354260070_ee084b07670ec763905762ca8b4b002a_rle_crop_3772981907_0.png', 1354261252: '1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983744_0.png', 1354261253: '1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983740_0.png', 1354262812: '1745929092_94462_1354260024_afcab875a908d91937e73d732312a3e7_rle_crop_3772985525_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/288aa4292936951e3a5d80894fba87b7_61971756.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f1d20634b0bd0e2a930f1300b73ccf08_61771971.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0f3df48797e99cf57072ca70d97bddb9_82906885.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/3e78c4df9bf42574c065293ff6165fe1_96855526.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/f396771ae68c422fd5a9e4a25578670f_27237441.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b130f90d858aed42c7e08f343e34d845_1321993.png change filename to text .imagette224991651745985063/ imagette224991651745985063/1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983744_0.png.png imagette224991651745985063/1745928913_91506_1354260070_ee084b07670ec763905762ca8b4b002a_rle_crop_3772981907_0.png.png imagette224991651745985063/1745929092_94462_1354260024_afcab875a908d91937e73d732312a3e7_rle_crop_3772985525_0.png.png imagette224991651745985063/1745928792_89967_1354258837_b21732442c93048a91077b6b0b8e810c_rle_crop_3772979623_0.png.png imagette224991651745985063/1745928541_86418_1354256336_c6ea3e20500c87b602a9ca3ba0a1e751_rle_crop_3772965644_0.png.png imagette224991651745985063/1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983740_0.png.png imagette224991651745985063/1745928792_89967_1354258837_b21732442c93048a91077b6b0b8e810c_rle_crop_3772979620_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0793096c79467c60a8b97c410422701d_59736643.png imagette224991651745985063 22499171 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=22499171 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1354257488: '1745928541_86418_1354256428_7f7f665d89ba1f750fc7f09d07d846fb_rle_crop_3772965627_0.png', 1354257489: '1745928541_86418_1354256388_e4feb6634c27dc5703e8202810c567a6_rle_crop_3772965638_0.png', 1354257575: '1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965784_0.png', 1354257576: '1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965779_0.png', 1354257577: '1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965794_0.png', 1354257579: '1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965790_0.png', 1354258488: '1745928671_88298_1354257246_1b8acbf72ec25945ae25b4249c31567d_rle_crop_3772968218_0.png', 1354261256: '1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983743_0.png', 1354262898: '1745929092_94462_1354259996_a122653fa8f6a8e4864fc0613bcc629c_rle_crop_3772985538_0.png', 1354262900: '1745929092_94462_1354259942_e3fd6b4aedc98df21d1f91e7c51c5284_rle_crop_3772985552_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/de1647858e0e788a3dd926f73bca3eb9_75256412.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/3b6a8c808621a6eb86f76fe4b554c9d1_2261026.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/401a6e1ad3255b5a17a42f5e0c070222_24999276.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/be436a7f6389a664f8eaa42d7474a057_43444259.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/51ee2e8dfe3af4a14b1d83acd59e634e_31121330.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/ddfc5384a1cf280bad84ddba9c09cd30_63598695.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/06c2329003717a20bc7f8aef59cc6977_16828115.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b67457edd40d49a266eeacd266e0350a_17952247.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/8a759731b62ac9b84dd65a7c8f4dd8a0_28508027.png change filename to text .imagette224991711745985064/ imagette224991711745985064/1745929092_94462_1354259942_e3fd6b4aedc98df21d1f91e7c51c5284_rle_crop_3772985552_0.png.png imagette224991711745985064/1745928973_92716_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7_rle_crop_3772983743_0.png.png imagette224991711745985064/1745928541_86418_1354256428_7f7f665d89ba1f750fc7f09d07d846fb_rle_crop_3772965627_0.png.png imagette224991711745985064/1745928671_88298_1354257246_1b8acbf72ec25945ae25b4249c31567d_rle_crop_3772968218_0.png.png imagette224991711745985064/1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965794_0.png.png imagette224991711745985064/1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965779_0.png.png imagette224991711745985064/1745928552_86563_1354255814_b8e7a15e86fe417c5f36fac87f3407bc_rle_crop_3772965790_0.png.png imagette224991711745985064/1745928552_86563_1354256456_2d640613ffb655356dcdfe09c6f9b915_rle_crop_3772965784_0.png.png imagette224991711745985064/1745929092_94462_1354259996_a122653fa8f6a8e4864fc0613bcc629c_rle_crop_3772985538_0.png.png imagette224991711745985064/1745928541_86418_1354256388_e4feb6634c27dc5703e8202810c567a6_rle_crop_3772965638_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/dfc2fab1a08318f02c17066cd185d47f_36011453.png imagette224991711745985064 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22499161 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22499174,22499175,22499176,22499177,22499178,22499179,22499180,22499181,22499182,22499183,22499184,22499185?tags=cartonnette,Carton_gris,autre_refus,Teint_Dans_La_Masse,metal,mal_croppe,environnement,plastique,flou,Carton_brun,kraft,papier your option no_mail is active, we will not send the real mail to your client args[1354261048] : ('0.035568098288558815',) no score found for photo 1354261048 We are sending mail with results at report@fotonower.com args[1354260631] : ('0.035568098288558815',) no score found for photo 1354260631 We are sending mail with results at report@fotonower.com args[1354260611] : ('0.035568098288558815',) no score found for photo 1354260611 We are sending mail with results at report@fotonower.com args[1354260596] : ('0.035568098288558815',) no score found for photo 1354260596 We are sending mail with results at report@fotonower.com args[1354260544] : ('0.035568098288558815',) no score found for photo 1354260544 We are sending mail with results at report@fotonower.com args[1354260514] : ('0.035568098288558815',) no score found for photo 1354260514 We are sending mail with results at report@fotonower.com args[1354260078] : ('0.035568098288558815',) no score found for photo 1354260078 We are sending mail with results at report@fotonower.com args[1354260074] : ('0.035568098288558815',) no score found for photo 1354260074 We are sending mail with results at report@fotonower.com args[1354260070] : ('0.035568098288558815',) no score found for photo 1354260070 We are sending mail with results at report@fotonower.com args[1354260067] : ('0.035568098288558815',) no score found for photo 1354260067 We are sending mail with results at report@fotonower.com args[1354260044] : ('0.035568098288558815',) no score found for photo 1354260044 We are sending mail with results at report@fotonower.com args[1354260039] : ('0.035568098288558815',) no score found for photo 1354260039 We are sending mail with results at report@fotonower.com args[1354260024] : ('0.035568098288558815',) no score found for photo 1354260024 We are sending mail with results at report@fotonower.com args[1354259996] : ('0.035568098288558815',) no score found for photo 1354259996 We are sending mail with results at report@fotonower.com args[1354259942] : ('0.035568098288558815',) no score found for photo 1354259942 We are sending mail with results at report@fotonower.com args[1354259725] : ('0.035568098288558815',) no score found for photo 1354259725 We are sending mail with results at report@fotonower.com args[1354259178] : ('0.035568098288558815',) no score found for photo 1354259178 We are sending mail with results at report@fotonower.com args[1354259052] : ('0.035568098288558815',) no score found for photo 1354259052 We are sending mail with results at report@fotonower.com args[1354258951] : ('0.035568098288558815',) no score found for photo 1354258951 We are sending mail with results at report@fotonower.com args[1354258837] : ('0.035568098288558815',) no score found for photo 1354258837 We are sending mail with results at report@fotonower.com args[1354258085] : ('0.035568098288558815',) no score found for photo 1354258085 We are sending mail with results at report@fotonower.com args[1354258063] : ('0.035568098288558815',) no score found for photo 1354258063 We are sending mail with results at report@fotonower.com args[1354257782] : ('0.035568098288558815',) no score found for photo 1354257782 We are sending mail with results at report@fotonower.com args[1354257750] : ('0.035568098288558815',) no score found for photo 1354257750 We are sending mail with results at report@fotonower.com args[1354257246] : ('0.035568098288558815',) no score found for photo 1354257246 We are sending mail with results at report@fotonower.com args[1354257112] : ('0.035568098288558815',) no score found for photo 1354257112 We are sending mail with results at report@fotonower.com args[1354257083] : ('0.035568098288558815',) no score found for photo 1354257083 We are sending mail with results at report@fotonower.com args[1354257053] : ('0.035568098288558815',) no score found for photo 1354257053 We are sending mail with results at report@fotonower.com args[1354257024] : ('0.035568098288558815',) no score found for photo 1354257024 We are sending mail with results at report@fotonower.com args[1354256992] : ('0.035568098288558815',) no score found for photo 1354256992 We are sending mail with results at report@fotonower.com args[1354256456] : ('0.035568098288558815',) no score found for photo 1354256456 We are sending mail with results at report@fotonower.com args[1354256428] : ('0.035568098288558815',) no score found for photo 1354256428 We are sending mail with results at report@fotonower.com args[1354256388] : ('0.035568098288558815',) no score found for photo 1354256388 We are sending mail with results at report@fotonower.com args[1354256336] : ('0.035568098288558815',) no score found for photo 1354256336 We are sending mail with results at report@fotonower.com args[1354255850] : ('0.035568098288558815',) no score found for photo 1354255850 We are sending mail with results at report@fotonower.com args[1354255814] : ('0.035568098288558815',) no score found for photo 1354255814 We are sending mail with results at report@fotonower.com args[1354255466] : ('0.035568098288558815',) no score found for photo 1354255466 We are sending mail with results at report@fotonower.com refus_total : 0.035568098288558815 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=22499161 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_P22499161_30-04-2025_05_51_01.pdf results_Auto_P22499161_30-04-2025_05_51_01.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499161_30-04-2025_05_51_01.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','22499161','results_Auto_P22499161_30-04-2025_05_51_01.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499161_30-04-2025_05_51_01.pdf','pdf','','0.42','0.035568098288558815') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22499161]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] map_info['map_portfolio_photo'] : {22499161: [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466]} final : False mtd_id 4302 list_pids : [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] 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, '2772232') ('4302', '22499161', '1354261048', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22499161', '1354261048', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232')] time used for this insertion : 0.018449068069458008 save_final save missing photos in datou_result : time spend for datou_step_exec : 7.058072566986084 time spend to save output : 0.01892852783203125 total time spend for step 4 : 7.077001094818115 step5:split_time_score Wed Apr 30 05:51:07 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 : ['22499161'] 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 : [('22499161',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22499161) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1354260544: {'path': 'temp/1745985060_959824_1354260544_b3d358ada0362c4101e3ea02b855bb46.jpg', 'extension': 'jpg'}, 1354260596: {'path': 'temp/1745985060_959824_1354260596_c16f22f410a6e6d41972c61fd0afaa3b.jpg', 'extension': 'jpg'}, 1354260611: {'path': 'temp/1745985060_959824_1354260611_c9a647bed8cc75c891fa0e34a12b6c6b.jpg', 'extension': 'jpg'}, 1354260631: {'path': 'temp/1745985060_959824_1354260631_20c565d583327413aa4a2b3dff8a0e66.jpg', 'extension': 'jpg'}, 1354261048: {'path': 'temp/1745985060_959824_1354261048_dee5409005cef6aeac3ec6ba24422d0b.jpg', 'extension': 'jpg'}, 1354255466: {'path': 'temp/1745985060_959824_1354255466_52db8d1731476f77b482171074811d99.jpg', 'extension': 'jpg'}, 1354255814: {'path': 'temp/1745985060_959824_1354255814_b8e7a15e86fe417c5f36fac87f3407bc.jpg', 'extension': 'jpg'}, 1354255850: {'path': 'temp/1745985060_959824_1354255850_0f8b2c42d1895334b3f2e0aa0edcdf51.jpg', 'extension': 'jpg'}, 1354256336: {'path': 'temp/1745985060_959824_1354256336_c6ea3e20500c87b602a9ca3ba0a1e751.jpg', 'extension': 'jpg'}, 1354256388: {'path': 'temp/1745985060_959824_1354256388_e4feb6634c27dc5703e8202810c567a6.jpg', 'extension': 'jpg'}, 1354256428: {'path': 'temp/1745985060_959824_1354256428_7f7f665d89ba1f750fc7f09d07d846fb.jpg', 'extension': 'jpg'}, 1354256456: {'path': 'temp/1745985060_959824_1354256456_2d640613ffb655356dcdfe09c6f9b915.jpg', 'extension': 'jpg'}, 1354256992: {'path': 'temp/1745985060_959824_1354256992_71fbecd2876279d4c779a5911be6844d.jpg', 'extension': 'jpg'}, 1354258085: {'path': 'temp/1745985060_959824_1354258085_0a19ba84733927610a15a9d1fdd3b4de.jpg', 'extension': 'jpg'}, 1354258837: {'path': 'temp/1745985060_959824_1354258837_b21732442c93048a91077b6b0b8e810c.jpg', 'extension': 'jpg'}, 1354258951: {'path': 'temp/1745985060_959824_1354258951_24d881b451560384c72cab9bfd70de50.jpg', 'extension': 'jpg'}, 1354259052: {'path': 'temp/1745985060_959824_1354259052_a3f607f75844e54707f3816b0d7a4fd6.jpg', 'extension': 'jpg'}, 1354259178: {'path': 'temp/1745985060_959824_1354259178_f7c62cc1306c2e0bf2ff75c1e286e622.jpg', 'extension': 'jpg'}, 1354259725: {'path': 'temp/1745985060_959824_1354259725_fd1bfe1b173fd9336cd4402fb37d572c.jpg', 'extension': 'jpg'}, 1354259942: {'path': 'temp/1745985060_959824_1354259942_e3fd6b4aedc98df21d1f91e7c51c5284.jpg', 'extension': 'jpg'}, 1354259996: {'path': 'temp/1745985060_959824_1354259996_a122653fa8f6a8e4864fc0613bcc629c.jpg', 'extension': 'jpg'}, 1354260024: {'path': 'temp/1745985060_959824_1354260024_afcab875a908d91937e73d732312a3e7.jpg', 'extension': 'jpg'}, 1354260039: {'path': 'temp/1745985060_959824_1354260039_39e00ac498433fb184c598ba7328ed0e.jpg', 'extension': 'jpg'}, 1354260044: {'path': 'temp/1745985060_959824_1354260044_58d14ea3b92c4f43e1c77ec52eb2dcf7.jpg', 'extension': 'jpg'}, 1354260067: {'path': 'temp/1745985060_959824_1354260067_521192a82429c555f1fff8055e898cea.jpg', 'extension': 'jpg'}, 1354260070: {'path': 'temp/1745985060_959824_1354260070_ee084b07670ec763905762ca8b4b002a.jpg', 'extension': 'jpg'}, 1354260074: {'path': 'temp/1745985060_959824_1354260074_8116b802276f263a3e10469bd6f5d3cd.jpg', 'extension': 'jpg'}, 1354260078: {'path': 'temp/1745985060_959824_1354260078_c46ef4be14492eff01492868df0c7e73.jpg', 'extension': 'jpg'}, 1354260514: {'path': 'temp/1745985060_959824_1354260514_f7cdbd850d949aae2cb3ed5848718c6a.jpg', 'extension': 'jpg'}, 1354257024: {'path': 'temp/1745985060_959824_1354257024_8476445896cd80bdb685790628fc9304.jpg', 'extension': 'jpg'}, 1354257053: {'path': 'temp/1745985060_959824_1354257053_52f63e67751557b00a90ddef1c394864.jpg', 'extension': 'jpg'}, 1354257083: {'path': 'temp/1745985060_959824_1354257083_604da0b61c59f6088890b0de2fda7fa3.jpg', 'extension': 'jpg'}, 1354257112: {'path': 'temp/1745985060_959824_1354257112_6f60ac818d4db7ee0b4230a51b41d5f7.jpg', 'extension': 'jpg'}, 1354257246: {'path': 'temp/1745985060_959824_1354257246_1b8acbf72ec25945ae25b4249c31567d.jpg', 'extension': 'jpg'}, 1354257750: {'path': 'temp/1745985060_959824_1354257750_1bc7cc69ae0415e7ad9c07e065cb760c.jpg', 'extension': 'jpg'}, 1354257782: {'path': 'temp/1745985060_959824_1354257782_daa7dee40814bdac957689fa69c96398.jpg', 'extension': 'jpg'}, 1354258063: {'path': 'temp/1745985060_959824_1354258063_2ce66253797e4e59f259dbbde21f536e.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 = 22499161; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm_merge',)) 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 = 22499161 group by h (('14', 37),) 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=22499161 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 (22499161) 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 (22499161) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 29042025 22499161 Nombre de photos uploadées : 37 / 23040 (0%) 29042025 22499161 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 29042025 22499161 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1354255466, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/52db8d1731476f77b482171074811d99.jpg', 'username': None, 'uploaded_at': 1745928248, 'text': 'image_29042025_14_03_04_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354255850, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/0f8b2c42d1895334b3f2e0aa0edcdf51.jpg', 'username': None, 'uploaded_at': 1745928367, 'text': 'image_29042025_14_03_24_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354255814, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/b8e7a15e86fe417c5f36fac87f3407bc.jpg', 'username': None, 'uploaded_at': 1745928367, 'text': 'image_29042025_14_05_04_010156m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1354256456, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/29/2d640613ffb655356dcdfe09c6f9b915.jpg', 'username': None, 'uploaded_at': 1745928427, 'text': 'image_29042025_14_05_54_010135m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 3.337860107421875e-06 elapsed_time : order_list_meta_photo_and_scores 9.775161743164062e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0018987655639648438 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22499161, '2025-04-29' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1752875,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02382946014404297 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= 1752875 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22477311, 'dashboard_result_id': 10168144, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477311_30-04-2025_05_34_48.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22477336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22477337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22477338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22477339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22477340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22477341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22477342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22477343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22477344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22477345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22477346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22477347, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22477922, 'dashboard_result_id': 10168145, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477922_30-04-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22477923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22477924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22477925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22477926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22477927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22477928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22477929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22477930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22477931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22477932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22477933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22477934, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22478782, 'dashboard_result_id': 10168146, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22478782_30-04-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22478831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22478832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22478833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22478834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22478835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22478836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22478837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22478838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22478839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22478840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22478841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22478842, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22479325, 'dashboard_result_id': 10168147, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22479325_30-04-2025_05_36_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22479338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22479339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22479340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22479341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22479342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22479343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22479344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22479345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22479346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22479347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22479348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22479349, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22480120, 'dashboard_result_id': 10168148, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480120_30-04-2025_05_36_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480132, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22480527, 'dashboard_result_id': 10168149, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480527_30-04-2025_05_37_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480539, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22481033, 'dashboard_result_id': 10168150, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_30-04-2025_05_37_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481084, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22481383, 'dashboard_result_id': 10168151, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481383_30-04-2025_05_38_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481395, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22482050, 'dashboard_result_id': 10168152, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482050_30-04-2025_05_39_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482062, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22482526, 'dashboard_result_id': 10168153, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482526_30-04-2025_05_39_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482575, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22482869, 'dashboard_result_id': 10168154, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482869_30-04-2025_05_40_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482881, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22483157, 'dashboard_result_id': 10168155, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483157_30-04-2025_05_40_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22483168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22483169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22483170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22483171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22483172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22483173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22483174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22483175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22483176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22483177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22483178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22483179, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22483567, 'dashboard_result_id': 10168156, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483567_30-04-2025_05_41_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22483594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22483595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22483596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22483597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22483598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22483599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22483600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22483601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22483602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22483603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22483604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22483605, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22484300, 'dashboard_result_id': 10168157, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484300_30-04-2025_05_42_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22484328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484339, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22484838, 'dashboard_result_id': 10168158, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484838_30-04-2025_05_43_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22484873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484874, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22484935, 'dashboard_result_id': 10168159, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484935_30-04-2025_05_43_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22484936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484947, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22485327, 'dashboard_result_id': 10168160, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485327_30-04-2025_05_44_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22485328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22485329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22485330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22485331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22485332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22485333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22485334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22485335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22485336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22485337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22485338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22485339, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22485609, 'dashboard_result_id': 10168161, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485609_30-04-2025_05_44_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22485610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22485611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22485612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22485613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22485614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22485615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22485616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22485617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22485618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22485619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22485620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22485621, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22486100, 'dashboard_result_id': 10168162, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486100_30-04-2025_05_45_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22486101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22486102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22486103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22486104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22486105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22486106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22486107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22486108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22486109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22486110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22486111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22486112, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22486753, 'dashboard_result_id': 10168163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486753_30-04-2025_05_45_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22486759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22486760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22486761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22486762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22486763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22486764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22486765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22486766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22486767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22486768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22486769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22486770, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22487482, 'dashboard_result_id': 10168164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22487482_30-04-2025_05_45_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22487499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22487500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22487502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22487503, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22487504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22487505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22487506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22487507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22487508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22487509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22487510, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22488782, 'dashboard_result_id': 10168165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22488782_30-04-2025_05_46_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22488818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22488819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22488820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22488821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22488822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22488823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22488824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22488825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22488826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22488827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22488828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22488829, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22489211, 'dashboard_result_id': 10168166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22489211_30-04-2025_05_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22489219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22489220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22489221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22489222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22489223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22489224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22489225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22489226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22489227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22489228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22489229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22489230, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22491637, 'dashboard_result_id': 10168167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22491637_30-04-2025_05_47_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22491655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22491656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22491657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22491658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22491659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22491660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22491661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22491662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22491663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22491664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22491665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22491666, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22492266, 'dashboard_result_id': 10168168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22492266_30-04-2025_05_48_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22492309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22492310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22492311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22492312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22492313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22492314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22492315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22492316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22492317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22492318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22492319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22492320, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22493217, 'dashboard_result_id': 10168169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493217_30-04-2025_05_48_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493233, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22493912, 'dashboard_result_id': 10168170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_30-04-2025_05_50_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493948, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22494596, 'dashboard_result_id': 10168171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22494596_30-04-2025_05_50_41.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22494625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22494626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22494627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22494628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22494629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22494630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22494631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22494632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22494633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22494634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22494635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22494636, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22499161, 'dashboard_result_id': 10168172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499161_29-04-2025_14_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22499162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22499163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22499164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22499165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22499166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22499167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22499168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22499169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22499170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22499171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22499172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22499173, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22499747, 'dashboard_result_id': 10168173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499747_29-04-2025_14_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22499901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22499902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22499903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22499904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22499905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22499906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22499907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22499908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22499909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22499910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22499911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22499912, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22500679, 'dashboard_result_id': 10168174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22500679_29-04-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22500769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22500770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22500771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22500772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22500773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22500774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22500775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22500776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22500777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22500778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22500779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22500780, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22501536, 'dashboard_result_id': 10168175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22501536_29-04-2025_15_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22501541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22501542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22501543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22501544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22501545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22501546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22501547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22501548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22501549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22501550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22501551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22501552, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22502359, 'dashboard_result_id': 10168176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22502359_29-04-2025_15_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22502417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22502418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22502419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22502420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22502421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22502422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22502423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22502424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22502425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22502426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22502427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22502428, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22503387, 'dashboard_result_id': 10168177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503387_29-04-2025_15_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22503392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22503393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22503394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22503395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22503396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22503397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22503398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22503399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22503400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22503401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22503402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22503403, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22503951, 'dashboard_result_id': 10168178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503951_29-04-2025_15_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22504016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22504017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22504018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22504019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22504020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22504021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22504022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22504023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22504024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22504026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22504027, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22504760, 'dashboard_result_id': 10168179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22504760_29-04-2025_16_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22504786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22504787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22504788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22504789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22504790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22504791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22504792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22504793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22504794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22504795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22504796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22504797, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22505803, 'dashboard_result_id': 10168180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22505803_29-04-2025_16_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22505863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22505864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22505865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22505866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22505867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22505868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22505869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22505870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22505871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22505872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22505873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22505874, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22506728, 'dashboard_result_id': 10168181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22506728_29-04-2025_16_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22506792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22506793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22506794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22506795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22506796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22506797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22506798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22506799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22506800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22506801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22506802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22506803, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22507674, 'dashboard_result_id': 10168182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22507674_29-04-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22507686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22507687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22507688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22507689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22507690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22507691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22507692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22507693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22507694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22507695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22507696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22507697, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22508742, 'dashboard_result_id': 10168183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22508742_29-04-2025_17_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22508784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22508785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22508786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22508787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22508788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22508789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22508790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22508791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22508792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22508793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22508794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22508795, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22509404, 'dashboard_result_id': 10168184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22509404_29-04-2025_17_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22509490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22509491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22509492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22509493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22509494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22509495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22509496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22509497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22509498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22509499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22509500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22509501, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22510706, 'dashboard_result_id': 10168185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22510706_29-04-2025_17_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22510734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22510735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22510736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22510737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22510738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22510739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22510740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22510741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22510742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22510743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22510744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22510745, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22511877, 'dashboard_result_id': 10168186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22511877_29-04-2025_18_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22511903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22511904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22511905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22511906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22511907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22511908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22511909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22511910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22511911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22511912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22511913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22511915, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22513234, 'dashboard_result_id': 10168187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513234_29-04-2025_18_51_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22513283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22513284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22513285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22513286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22513287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22513288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22513289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22513290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22513291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22513292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22513293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22513294, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22513927, 'dashboard_result_id': 10168188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513927_29-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22513995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22513996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22513997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22513998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22513999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22514000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22514002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22514004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22514005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22514006, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22514493, 'dashboard_result_id': 10168189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22514493_29-04-2025_19_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22514508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22514509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22514510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22514511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22514512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22514513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22514514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22514515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22514516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22514517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22514518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22514519, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22515410, 'dashboard_result_id': 10168190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22515410_29-04-2025_19_48_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22515475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22515476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22515477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22515478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22515479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22515480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22515481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22515482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22515483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22515484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22515485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22515486, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22516911, 'dashboard_result_id': 10168191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22516911_29-04-2025_20_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22516932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22516933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22516934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22516935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22516936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22516937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22516938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22516939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22516940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22516941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22516943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22516944, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22517442, 'dashboard_result_id': 10168192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22517442_29-04-2025_20_16_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22517477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22517478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22517479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22517480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22517481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22517482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22517483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22517484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22517485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22517486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22517487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22517488, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22518571, 'dashboard_result_id': 10168193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22518571_29-04-2025_20_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22518572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22518573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22518574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22518575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22518576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22518577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22518578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22518579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22518580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22518581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22518582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22518583, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22519158, 'dashboard_result_id': 10168194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519158_29-04-2025_21_06_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22519220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22519221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22519222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22519223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22519224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22519225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22519226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22519227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22519228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22519229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22519230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22519231, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22519997, 'dashboard_result_id': 10168195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519997_29-04-2025_21_20_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22520034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22520035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22520036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22520037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22520038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22520039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22520040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22520041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22520042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22520043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22520044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22520045, 'pht': 3726}}"}, {'dashboat_entry_day': 1752875, 'dashboard_run_id': 1765154, 'mtr_portfolio_id': 22520402, 'dashboard_result_id': 10168196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22520402_29-04-2025_21_41_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22520405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22520406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22520407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22520408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22520409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22520410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22520411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22520412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22520413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22520414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22520415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22520416, '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 = 22477311 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772203, 'mtr_portfolio_id': 22477311, 'created_at': datetime.datetime(2025, 4, 30, 5, 34, 44), 'result': '0.05401701935807681', 'result_long': None, 'result_double': None}] Qualite : 0.05401701935807681 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22477311 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477311_30-04-2025_05_34_48.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22477311 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477311_30-04-2025_05_34_48.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22477336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22477337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22477338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22477339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22477340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22477341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22477342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22477343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22477344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22477345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22477346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22477347, 'pht': 3726}}" where mtr_portfolio_id = 22477311 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22477311 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168144, 0.05401701935807681, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477311_30-04-2025_05_34_48.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22477336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22477337, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22477338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22477339, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22477340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22477341, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22477342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22477343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22477344, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22477345, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22477346, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22477347, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22477922 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772204, 'mtr_portfolio_id': 22477922, 'created_at': datetime.datetime(2025, 4, 30, 5, 34, 27), 'result': '0.04733213339745375', 'result_long': None, 'result_double': None}] Qualite : 0.04733213339745375 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22477922 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477922_30-04-2025_05_34_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22477922 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477922_30-04-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22477923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22477924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22477925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22477926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22477927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22477928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22477929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22477930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22477931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22477932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22477933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22477934, 'pht': 3726}}" where mtr_portfolio_id = 22477922 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22477922 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168145, 0.04733213339745375, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22477922_30-04-2025_05_34_30.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22477923, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22477924, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22477925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22477926, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22477927, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22477928, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22477929, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22477930, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22477931, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22477932, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22477933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22477934, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22478782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772205, 'mtr_portfolio_id': 22478782, 'created_at': datetime.datetime(2025, 4, 30, 5, 35, 29), 'result': '0.06042510588594496', 'result_long': None, 'result_double': None}] Qualite : 0.06042510588594496 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22478782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22478782_30-04-2025_05_35_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22478782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22478782_30-04-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22478831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22478832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22478833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22478834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22478835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22478836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22478837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22478838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22478839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22478840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22478841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22478842, 'pht': 3726}}" where mtr_portfolio_id = 22478782 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22478782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168146, 0.06042510588594496, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22478782_30-04-2025_05_35_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22478831, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22478832, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22478833, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22478834, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22478835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22478836, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22478837, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22478838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22478839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22478840, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22478841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22478842, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22479325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772206, 'mtr_portfolio_id': 22479325, 'created_at': datetime.datetime(2025, 4, 30, 5, 36, 1), 'result': '0.054218031065692285', 'result_long': None, 'result_double': None}] Qualite : 0.054218031065692285 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22479325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22479325_30-04-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22479325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22479325_30-04-2025_05_36_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22479338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22479339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22479340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22479341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22479342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22479343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22479344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22479345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22479346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22479347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22479348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22479349, 'pht': 3726}}" where mtr_portfolio_id = 22479325 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22479325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168147, 0.054218031065692285, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22479325_30-04-2025_05_36_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22479338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22479339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22479340, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22479341, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22479342, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22479343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22479344, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22479345, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22479346, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22479347, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22479348, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22479349, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22480120 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772207, 'mtr_portfolio_id': 22480120, 'created_at': datetime.datetime(2025, 4, 30, 5, 36, 31), 'result': '0.08525115350118052', 'result_long': None, 'result_double': None}] Qualite : 0.08525115350118052 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22480120 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480120_30-04-2025_05_36_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22480120 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480120_30-04-2025_05_36_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480132, 'pht': 3726}}" where mtr_portfolio_id = 22480120 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22480120 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168148, 0.08525115350118052, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480120_30-04-2025_05_36_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480121, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480123, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480124, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480126, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480127, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480129, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480130, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480131, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480132, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22480527 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772208, 'mtr_portfolio_id': 22480527, 'created_at': datetime.datetime(2025, 4, 30, 5, 37), 'result': '0.07069230356750522', 'result_long': None, 'result_double': None}] Qualite : 0.07069230356750522 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22480527 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480527_30-04-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22480527 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480527_30-04-2025_05_37_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480539, 'pht': 3726}}" where mtr_portfolio_id = 22480527 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22480527 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168149, 0.07069230356750522, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22480527_30-04-2025_05_37_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22480528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22480529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22480530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22480531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22480532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22480533, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22480534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22480535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22480536, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22480537, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22480538, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22480539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22481033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772209, 'mtr_portfolio_id': 22481033, 'created_at': datetime.datetime(2025, 4, 30, 5, 37, 29), 'result': '0.08227227788990044', 'result_long': None, 'result_double': None}] Qualite : 0.08227227788990044 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22481033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_30-04-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22481033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_30-04-2025_05_37_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481084, 'pht': 3726}}" where mtr_portfolio_id = 22481033 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22481033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168150, 0.08227227788990044, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481033_30-04-2025_05_37_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481074, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481076, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481078, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481079, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481080, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481082, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22481383 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772210, 'mtr_portfolio_id': 22481383, 'created_at': datetime.datetime(2025, 4, 30, 5, 37, 59), 'result': '0.05427139889430595', 'result_long': None, 'result_double': None}] Qualite : 0.05427139889430595 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22481383 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481383_30-04-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22481383 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481383_30-04-2025_05_38_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481395, 'pht': 3726}}" where mtr_portfolio_id = 22481383 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22481383 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168151, 0.05427139889430595, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22481383_30-04-2025_05_38_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22481384, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22481385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22481386, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22481387, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22481388, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22481389, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22481390, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22481391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22481392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22481393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22481394, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22481395, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22482050 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772211, 'mtr_portfolio_id': 22482050, 'created_at': datetime.datetime(2025, 4, 30, 5, 38, 59), 'result': '0.04599920767653003', 'result_long': None, 'result_double': None}] Qualite : 0.04599920767653003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22482050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482050_30-04-2025_05_39_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22482050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482050_30-04-2025_05_39_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482062, 'pht': 3726}}" where mtr_portfolio_id = 22482050 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22482050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168152, 0.04599920767653003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482050_30-04-2025_05_39_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482052, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482055, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482062, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22482526 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772212, 'mtr_portfolio_id': 22482526, 'created_at': datetime.datetime(2025, 4, 30, 5, 39, 27), 'result': '0.05823039050051722', 'result_long': None, 'result_double': None}] Qualite : 0.05823039050051722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22482526 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482526_30-04-2025_05_39_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22482526 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482526_30-04-2025_05_39_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482575, 'pht': 3726}}" where mtr_portfolio_id = 22482526 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22482526 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168153, 0.05823039050051722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482526_30-04-2025_05_39_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482564, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482566, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482567, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482569, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482574, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482575, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22482869 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772213, 'mtr_portfolio_id': 22482869, 'created_at': datetime.datetime(2025, 4, 30, 5, 39, 59), 'result': '0.04293458247513326', 'result_long': None, 'result_double': None}] Qualite : 0.04293458247513326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22482869 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482869_30-04-2025_05_40_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22482869 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482869_30-04-2025_05_40_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482881, 'pht': 3726}}" where mtr_portfolio_id = 22482869 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22482869 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168154, 0.04293458247513326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22482869_30-04-2025_05_40_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22482870, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22482871, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22482872, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22482873, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22482874, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22482875, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22482876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22482877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22482878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22482879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22482880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22482881, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22483157 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772214, 'mtr_portfolio_id': 22483157, 'created_at': datetime.datetime(2025, 4, 30, 5, 40, 57), 'result': '0.06554344684592386', 'result_long': None, 'result_double': None}] Qualite : 0.06554344684592386 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22483157 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483157_30-04-2025_05_40_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22483157 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483157_30-04-2025_05_40_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22483168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22483169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22483170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22483171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22483172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22483173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22483174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22483175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22483176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22483177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22483178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22483179, 'pht': 3726}}" where mtr_portfolio_id = 22483157 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22483157 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168155, 0.06554344684592386, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483157_30-04-2025_05_40_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22483168, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22483169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22483170, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22483171, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22483172, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22483173, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22483174, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22483175, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22483176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22483177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22483178, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22483179, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22483567 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772215, 'mtr_portfolio_id': 22483567, 'created_at': datetime.datetime(2025, 4, 30, 5, 41, 31), 'result': '0.06246504231129315', 'result_long': None, 'result_double': None}] Qualite : 0.06246504231129315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22483567 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483567_30-04-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22483567 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483567_30-04-2025_05_41_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22483594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22483595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22483596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22483597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22483598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22483599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22483600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22483601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22483602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22483603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22483604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22483605, 'pht': 3726}}" where mtr_portfolio_id = 22483567 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22483567 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168156, 0.06246504231129315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22483567_30-04-2025_05_41_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22483594, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22483595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22483596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22483597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22483598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22483599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22483600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22483601, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22483602, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22483603, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22483604, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22483605, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22484300 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772217, 'mtr_portfolio_id': 22484300, 'created_at': datetime.datetime(2025, 4, 30, 5, 42, 28), 'result': '0.05187296854369373', 'result_long': None, 'result_double': None}] Qualite : 0.05187296854369373 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22484300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484300_30-04-2025_05_42_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22484300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484300_30-04-2025_05_42_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22484328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484339, 'pht': 3726}}" where mtr_portfolio_id = 22484300 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22484300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168157, 0.05187296854369373, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484300_30-04-2025_05_42_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22484328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484330, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484331, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484332, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484334, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484336, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484337, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484339, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22484838 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772218, 'mtr_portfolio_id': 22484838, 'created_at': datetime.datetime(2025, 4, 30, 5, 43, 47), 'result': '0.038866162250460454', 'result_long': None, 'result_double': None}] Qualite : 0.038866162250460454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22484838 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484838_30-04-2025_05_43_49.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22484838 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484838_30-04-2025_05_43_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22484873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484874, 'pht': 3726}}" where mtr_portfolio_id = 22484838 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22484838 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168158, 0.038866162250460454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484838_30-04-2025_05_43_49.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484865, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484867, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484868, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484869, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484870, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484871, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22484873, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22484935 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772219, 'mtr_portfolio_id': 22484935, 'created_at': datetime.datetime(2025, 4, 30, 5, 43, 29), 'result': '0.05723698696803544', 'result_long': None, 'result_double': None}] Qualite : 0.05723698696803544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22484935 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484935_30-04-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22484935 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484935_30-04-2025_05_43_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22484936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484947, 'pht': 3726}}" where mtr_portfolio_id = 22484935 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22484935 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168159, 0.05723698696803544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22484935_30-04-2025_05_43_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22484936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22484937, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22484938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22484939, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22484940, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22484941, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22484942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22484943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22484944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22484945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22484946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22484947, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22485327 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772220, 'mtr_portfolio_id': 22485327, 'created_at': datetime.datetime(2025, 4, 30, 5, 43, 59), 'result': '0.06163919903683717', 'result_long': None, 'result_double': None}] Qualite : 0.06163919903683717 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22485327 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485327_30-04-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22485327 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485327_30-04-2025_05_44_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22485328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22485329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22485330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22485331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22485332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22485333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22485334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22485335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22485336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22485337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22485338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22485339, 'pht': 3726}}" where mtr_portfolio_id = 22485327 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22485327 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168160, 0.06163919903683717, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485327_30-04-2025_05_44_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22485328, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22485329, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22485330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22485331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22485332, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22485333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22485334, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22485335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22485336, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22485337, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22485338, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22485339, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22485609 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772221, 'mtr_portfolio_id': 22485609, 'created_at': datetime.datetime(2025, 4, 30, 5, 44, 28), 'result': '0.06410178132135524', 'result_long': None, 'result_double': None}] Qualite : 0.06410178132135524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22485609 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485609_30-04-2025_05_44_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22485609 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485609_30-04-2025_05_44_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22485610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22485611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22485612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22485613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22485614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22485615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22485616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22485617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22485618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22485619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22485620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22485621, 'pht': 3726}}" where mtr_portfolio_id = 22485609 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22485609 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168161, 0.06410178132135524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22485609_30-04-2025_05_44_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22485610, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22485611, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22485612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22485613, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22485614, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22485615, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22485616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22485617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22485618, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22485619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22485620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22485621, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22486100 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772222, 'mtr_portfolio_id': 22486100, 'created_at': datetime.datetime(2025, 4, 30, 5, 45, 28), 'result': '0.04399104308019494', 'result_long': None, 'result_double': None}] Qualite : 0.04399104308019494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22486100 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486100_30-04-2025_05_45_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22486100 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486100_30-04-2025_05_45_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22486101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22486102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22486103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22486104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22486105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22486106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22486107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22486108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22486109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22486110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22486111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22486112, 'pht': 3726}}" where mtr_portfolio_id = 22486100 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22486100 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168162, 0.04399104308019494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486100_30-04-2025_05_45_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22486101, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22486102, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22486103, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22486104, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22486105, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22486106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22486107, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22486108, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22486109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22486110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22486111, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22486112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22486753 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772223, 'mtr_portfolio_id': 22486753, 'created_at': datetime.datetime(2025, 4, 30, 5, 45, 39), 'result': '0.055963608099435465', 'result_long': None, 'result_double': None}] Qualite : 0.055963608099435465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22486753 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486753_30-04-2025_05_45_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22486753 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486753_30-04-2025_05_45_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22486759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22486760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22486761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22486762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22486763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22486764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22486765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22486766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22486767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22486768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22486769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22486770, 'pht': 3726}}" where mtr_portfolio_id = 22486753 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22486753 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168163, 0.055963608099435465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22486753_30-04-2025_05_45_42.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22486759, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22486760, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22486761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22486762, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22486763, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22486764, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22486765, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22486766, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22486767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22486768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22486769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22486770, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22487482 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772224, 'mtr_portfolio_id': 22487482, 'created_at': datetime.datetime(2025, 4, 30, 5, 45, 56), 'result': '0.050718749122274524', 'result_long': None, 'result_double': None}] Qualite : 0.050718749122274524 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22487482 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22487482_30-04-2025_05_45_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22487482 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22487482_30-04-2025_05_45_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22487499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22487500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22487502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22487503, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22487504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22487505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22487506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22487507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22487508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22487509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22487510, 'pht': 3726}}" where mtr_portfolio_id = 22487482 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22487482 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168164, 0.050718749122274524, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22487482_30-04-2025_05_45_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22487499, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22487500, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22487501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22487502, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22487503, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22487504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22487505, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22487506, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22487507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22487508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22487509, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22487510, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22488782 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772225, 'mtr_portfolio_id': 22488782, 'created_at': datetime.datetime(2025, 4, 30, 5, 46, 30), 'result': '0.10553564486142927', 'result_long': None, 'result_double': None}] Qualite : 0.10553564486142927 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22488782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22488782_30-04-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22488782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22488782_30-04-2025_05_46_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22488818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22488819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22488820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22488821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22488822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22488823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22488824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22488825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22488826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22488827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22488828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22488829, 'pht': 3726}}" where mtr_portfolio_id = 22488782 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22488782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168165, 0.10553564486142927, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22488782_30-04-2025_05_46_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22488818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22488819, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22488820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22488821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22488822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22488823, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22488824, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22488825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22488826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22488827, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22488828, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22488829, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22489211 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772226, 'mtr_portfolio_id': 22489211, 'created_at': datetime.datetime(2025, 4, 30, 5, 46, 57), 'result': '0.051043146641569115', 'result_long': None, 'result_double': None}] Qualite : 0.051043146641569115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22489211 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22489211_30-04-2025_05_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22489211 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22489211_30-04-2025_05_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22489219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22489220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22489221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22489222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22489223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22489224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22489225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22489226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22489227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22489228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22489229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22489230, 'pht': 3726}}" where mtr_portfolio_id = 22489211 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22489211 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168166, 0.051043146641569115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22489211_30-04-2025_05_47_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22489219, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22489220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22489221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22489222, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22489223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22489224, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22489225, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22489226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22489227, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22489228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22489229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22489230, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22491637 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772227, 'mtr_portfolio_id': 22491637, 'created_at': datetime.datetime(2025, 4, 30, 5, 47, 27), 'result': '0.033413618771163514', 'result_long': None, 'result_double': None}] Qualite : 0.033413618771163514 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22491637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22491637_30-04-2025_05_47_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22491637 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22491637_30-04-2025_05_47_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22491655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22491656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22491657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22491658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22491659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22491660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22491661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22491662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22491663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22491664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22491665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22491666, 'pht': 3726}}" where mtr_portfolio_id = 22491637 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22491637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168167, 0.033413618771163514, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22491637_30-04-2025_05_47_29.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22491655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22491656, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22491657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22491658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22491659, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22491660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22491661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22491662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22491663, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22491664, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22491665, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22491666, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22492266 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772228, 'mtr_portfolio_id': 22492266, 'created_at': datetime.datetime(2025, 4, 30, 5, 47, 57), 'result': '0.042629859366725', 'result_long': None, 'result_double': None}] Qualite : 0.042629859366725 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22492266 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22492266_30-04-2025_05_48_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22492266 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22492266_30-04-2025_05_48_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22492309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22492310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22492311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22492312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22492313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22492314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22492315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22492316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22492317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22492318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22492319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22492320, 'pht': 3726}}" where mtr_portfolio_id = 22492266 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22492266 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168168, 0.042629859366725, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22492266_30-04-2025_05_48_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22492309, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22492310, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22492311, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22492312, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22492313, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22492314, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22492315, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22492316, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22492317, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22492318, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22492319, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22492320, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22493217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772229, 'mtr_portfolio_id': 22493217, 'created_at': datetime.datetime(2025, 4, 30, 5, 48, 31), 'result': '0.05172535235002872', 'result_long': None, 'result_double': None}] Qualite : 0.05172535235002872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22493217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493217_30-04-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22493217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493217_30-04-2025_05_48_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493233, 'pht': 3726}}" where mtr_portfolio_id = 22493217 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22493217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168169, 0.05172535235002872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493217_30-04-2025_05_48_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493222, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493224, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493227, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493228, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493230, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493233, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22493912 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772230, 'mtr_portfolio_id': 22493912, 'created_at': datetime.datetime(2025, 4, 30, 5, 49, 58), 'result': '0.05476253547836583', 'result_long': None, 'result_double': None}] Qualite : 0.05476253547836583 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22493912 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_30-04-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22493912 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_30-04-2025_05_50_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493948, 'pht': 3726}}" where mtr_portfolio_id = 22493912 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22493912 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168170, 0.05476253547836583, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22493912_30-04-2025_05_50_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22493937, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22493938, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22493939, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22493940, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22493941, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22493942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22493943, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22493944, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22493945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22493946, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22493947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22493948, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22494596 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772231, 'mtr_portfolio_id': 22494596, 'created_at': datetime.datetime(2025, 4, 30, 5, 50, 40), 'result': '0.06913475188513647', 'result_long': None, 'result_double': None}] Qualite : 0.06913475188513647 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22494596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22494596_30-04-2025_05_50_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22494596 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22494596_30-04-2025_05_50_41.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22494625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22494626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22494627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22494628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22494629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22494630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22494631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22494632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22494633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22494634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22494635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22494636, 'pht': 3726}}" where mtr_portfolio_id = 22494596 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22494596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168171, 0.06913475188513647, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22494596_30-04-2025_05_50_41.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22494625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22494626, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22494627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22494628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22494629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22494630, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22494631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22494632, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22494633, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22494634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22494635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22494636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22499161 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2772232, 'mtr_portfolio_id': 22499161, 'created_at': datetime.datetime(2025, 4, 30, 5, 50, 59), 'result': '0.035568098288558815', 'result_long': None, 'result_double': None}] Qualite : 0.035568098288558815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22499161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499161_30-04-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22499161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499161_30-04-2025_05_51_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22499162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22499163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22499164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22499165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22499166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22499167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22499168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22499169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22499170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22499171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22499172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22499173, 'pht': 3726}}" where mtr_portfolio_id = 22499161 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22499161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168172, 0.035568098288558815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499161_30-04-2025_05_51_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22499162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22499163, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22499164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22499165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22499166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22499167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22499168, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22499169, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22499170, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22499171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22499172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22499173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22499747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769170, 'mtr_portfolio_id': 22499747, 'created_at': datetime.datetime(2025, 4, 29, 14, 33), 'result': '0.04143850055844066', 'result_long': None, 'result_double': None}] Qualite : 0.04143850055844066 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22499747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499747_29-04-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22499747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499747_29-04-2025_14_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22499901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22499902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22499903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22499904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22499905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22499906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22499907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22499908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22499909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22499910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22499911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22499912, 'pht': 3726}}" where mtr_portfolio_id = 22499747 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22499747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168173, 0.04143850055844066, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22499747_29-04-2025_14_33_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22499901, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22499902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22499903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22499904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22499905, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22499906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22499907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22499908, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22499909, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22499910, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22499911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22499912, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22500679 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769237, 'mtr_portfolio_id': 22500679, 'created_at': datetime.datetime(2025, 4, 29, 14, 46, 58), 'result': '0.027997844314030504', 'result_long': None, 'result_double': None}] Qualite : 0.027997844314030504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22500679 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22500679_29-04-2025_14_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22500679 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22500679_29-04-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22500769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22500770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22500771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22500772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22500773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22500774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22500775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22500776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22500777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22500778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22500779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22500780, 'pht': 3726}}" where mtr_portfolio_id = 22500679 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22500679 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168174, 0.027997844314030504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22500679_29-04-2025_14_46_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22500769, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22500770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22500771, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22500772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22500773, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22500774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22500775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22500776, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22500777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22500778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22500779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22500780, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22501536 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769301, 'mtr_portfolio_id': 22501536, 'created_at': datetime.datetime(2025, 4, 29, 15, 2, 59), 'result': '0.0475483350231047', 'result_long': None, 'result_double': None}] Qualite : 0.0475483350231047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22501536 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22501536_29-04-2025_15_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22501536 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22501536_29-04-2025_15_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22501541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22501542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22501543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22501544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22501545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22501546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22501547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22501548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22501549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22501550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22501551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22501552, 'pht': 3726}}" where mtr_portfolio_id = 22501536 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22501536 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168175, 0.0475483350231047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22501536_29-04-2025_15_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22501541, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22501542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22501543, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22501544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22501545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22501546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22501547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22501548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22501549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22501550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22501551, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22501552, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22502359 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769361, 'mtr_portfolio_id': 22502359, 'created_at': datetime.datetime(2025, 4, 29, 15, 19), 'result': '0.04071772312185362', 'result_long': None, 'result_double': None}] Qualite : 0.04071772312185362 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22502359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22502359_29-04-2025_15_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22502359 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22502359_29-04-2025_15_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22502417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22502418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22502419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22502420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22502421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22502422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22502423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22502424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22502425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22502426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22502427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22502428, 'pht': 3726}}" where mtr_portfolio_id = 22502359 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22502359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168176, 0.04071772312185362, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22502359_29-04-2025_15_19_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22502417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22502418, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22502419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22502420, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22502421, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22502422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22502423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22502424, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22502425, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22502426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22502427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22502428, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22503387 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769432, 'mtr_portfolio_id': 22503387, 'created_at': datetime.datetime(2025, 4, 29, 15, 33, 1), 'result': '0.05012430156165207', 'result_long': None, 'result_double': None}] Qualite : 0.05012430156165207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22503387 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503387_29-04-2025_15_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22503387 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503387_29-04-2025_15_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22503392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22503393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22503394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22503395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22503396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22503397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22503398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22503399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22503400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22503401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22503402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22503403, 'pht': 3726}}" where mtr_portfolio_id = 22503387 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22503387 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168177, 0.05012430156165207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503387_29-04-2025_15_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22503392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22503393, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22503394, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22503395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22503396, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22503397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22503398, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22503399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22503400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22503401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22503402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22503403, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22503951 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769508, 'mtr_portfolio_id': 22503951, 'created_at': datetime.datetime(2025, 4, 29, 15, 46, 58), 'result': '0.038762736069738596', 'result_long': None, 'result_double': None}] Qualite : 0.038762736069738596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22503951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503951_29-04-2025_15_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22503951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503951_29-04-2025_15_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22504016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22504017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22504018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22504019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22504020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22504021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22504022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22504023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22504024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22504026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22504027, 'pht': 3726}}" where mtr_portfolio_id = 22503951 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22503951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168178, 0.038762736069738596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22503951_29-04-2025_15_46_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22504016, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22504017, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22504018, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22504019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22504020, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22504021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22504022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22504023, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22504024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22504025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22504026, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22504027, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22504760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769565, 'mtr_portfolio_id': 22504760, 'created_at': datetime.datetime(2025, 4, 29, 16, 2, 59), 'result': '0.04134758012404297', 'result_long': None, 'result_double': None}] Qualite : 0.04134758012404297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22504760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22504760_29-04-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22504760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22504760_29-04-2025_16_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22504786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22504787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22504788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22504789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22504790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22504791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22504792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22504793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22504794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22504795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22504796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22504797, 'pht': 3726}}" where mtr_portfolio_id = 22504760 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22504760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168179, 0.04134758012404297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22504760_29-04-2025_16_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22504786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22504787, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22504788, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22504789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22504790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22504791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22504792, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22504793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22504794, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22504795, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22504796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22504797, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22505803 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769661, 'mtr_portfolio_id': 22505803, 'created_at': datetime.datetime(2025, 4, 29, 16, 18, 56), 'result': '0.05146474902018532', 'result_long': None, 'result_double': None}] Qualite : 0.05146474902018532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22505803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22505803_29-04-2025_16_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22505803 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22505803_29-04-2025_16_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22505863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22505864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22505865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22505866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22505867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22505868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22505869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22505870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22505871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22505872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22505873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22505874, 'pht': 3726}}" where mtr_portfolio_id = 22505803 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22505803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168180, 0.05146474902018532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22505803_29-04-2025_16_18_57.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22505863, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22505864, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22505865, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22505866, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22505867, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22505868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22505869, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22505870, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22505871, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22505872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22505873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22505874, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22506728 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769729, 'mtr_portfolio_id': 22506728, 'created_at': datetime.datetime(2025, 4, 29, 16, 33, 28), 'result': '0.0397274405537596', 'result_long': None, 'result_double': None}] Qualite : 0.0397274405537596 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22506728 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22506728_29-04-2025_16_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22506728 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22506728_29-04-2025_16_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22506792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22506793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22506794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22506795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22506796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22506797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22506798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22506799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22506800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22506801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22506802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22506803, 'pht': 3726}}" where mtr_portfolio_id = 22506728 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22506728 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168181, 0.0397274405537596, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22506728_29-04-2025_16_33_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22506792, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22506793, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22506794, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22506795, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22506796, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22506797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22506798, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22506799, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22506800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22506801, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22506802, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22506803, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22507674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769809, 'mtr_portfolio_id': 22507674, 'created_at': datetime.datetime(2025, 4, 29, 16, 48, 59), 'result': '0.05239676672537465', 'result_long': None, 'result_double': None}] Qualite : 0.05239676672537465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22507674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22507674_29-04-2025_16_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22507674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22507674_29-04-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22507686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22507687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22507688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22507689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22507690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22507691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22507692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22507693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22507694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22507695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22507696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22507697, 'pht': 3726}}" where mtr_portfolio_id = 22507674 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22507674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168182, 0.05239676672537465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22507674_29-04-2025_16_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22507686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22507687, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22507688, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22507689, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22507690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22507691, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22507692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22507693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22507694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22507695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22507696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22507697, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22508742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769872, 'mtr_portfolio_id': 22508742, 'created_at': datetime.datetime(2025, 4, 29, 17, 2, 58), 'result': '0.044464381210163106', 'result_long': None, 'result_double': None}] Qualite : 0.044464381210163106 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22508742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22508742_29-04-2025_17_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22508742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22508742_29-04-2025_17_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22508784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22508785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22508786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22508787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22508788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22508789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22508790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22508791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22508792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22508793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22508794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22508795, 'pht': 3726}}" where mtr_portfolio_id = 22508742 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22508742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168183, 0.044464381210163106, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22508742_29-04-2025_17_02_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22508784, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22508785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22508786, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22508787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22508788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22508789, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22508790, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22508791, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22508792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22508793, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22508794, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22508795, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22509404 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2769943, 'mtr_portfolio_id': 22509404, 'created_at': datetime.datetime(2025, 4, 29, 17, 21), 'result': '0.058181363802810686', 'result_long': None, 'result_double': None}] Qualite : 0.058181363802810686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22509404 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22509404_29-04-2025_17_21_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22509404 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22509404_29-04-2025_17_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22509490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22509491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22509492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22509493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22509494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22509495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22509496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22509497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22509498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22509499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22509500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22509501, 'pht': 3726}}" where mtr_portfolio_id = 22509404 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22509404 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168184, 0.058181363802810686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22509404_29-04-2025_17_21_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22509490, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22509491, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22509492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22509493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22509494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22509495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22509496, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22509497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22509498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22509499, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22509500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22509501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22510706 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770035, 'mtr_portfolio_id': 22510706, 'created_at': datetime.datetime(2025, 4, 29, 17, 32, 59), 'result': '0.04435470714565782', 'result_long': None, 'result_double': None}] Qualite : 0.04435470714565782 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22510706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22510706_29-04-2025_17_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22510706 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22510706_29-04-2025_17_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22510734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22510735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22510736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22510737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22510738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22510739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22510740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22510741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22510742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22510743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22510744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22510745, 'pht': 3726}}" where mtr_portfolio_id = 22510706 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22510706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168185, 0.04435470714565782, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22510706_29-04-2025_17_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22510734, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22510735, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22510736, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22510737, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22510738, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22510739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22510740, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22510741, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22510742, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22510743, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22510744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22510745, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22511877 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770192, 'mtr_portfolio_id': 22511877, 'created_at': datetime.datetime(2025, 4, 29, 18, 16, 59), 'result': '0.03569527518661598', 'result_long': None, 'result_double': None}] Qualite : 0.03569527518661598 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22511877 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22511877_29-04-2025_18_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22511877 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22511877_29-04-2025_18_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22511903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22511904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22511905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22511906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22511907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22511908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22511909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22511910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22511911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22511912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22511913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22511915, 'pht': 3726}}" where mtr_portfolio_id = 22511877 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22511877 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168186, 0.03569527518661598, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22511877_29-04-2025_18_17_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22511903, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22511904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22511905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22511906, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22511907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22511908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22511909, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22511910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22511911, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22511912, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22511913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22511915, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22513234 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770377, 'mtr_portfolio_id': 22513234, 'created_at': datetime.datetime(2025, 4, 29, 18, 51), 'result': '0.030061317384590214', 'result_long': None, 'result_double': None}] Qualite : 0.030061317384590214 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22513234 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513234_29-04-2025_18_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22513234 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513234_29-04-2025_18_51_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22513283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22513284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22513285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22513286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22513287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22513288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22513289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22513290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22513291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22513292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22513293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22513294, 'pht': 3726}}" where mtr_portfolio_id = 22513234 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22513234 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168187, 0.030061317384590214, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513234_29-04-2025_18_51_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22513283, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22513284, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22513285, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22513286, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22513287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22513288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22513289, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22513290, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22513291, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22513292, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22513293, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22513294, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22513927 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770435, 'mtr_portfolio_id': 22513927, 'created_at': datetime.datetime(2025, 4, 29, 19, 2, 59), 'result': '0.043003159943790635', 'result_long': None, 'result_double': None}] Qualite : 0.043003159943790635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22513927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513927_29-04-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22513927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513927_29-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22513995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22513996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22513997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22513998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22513999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22514000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22514002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22514004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22514005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22514006, 'pht': 3726}}" where mtr_portfolio_id = 22513927 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22513927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168188, 0.043003159943790635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22513927_29-04-2025_19_03_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22513995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22513996, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22513997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22513998, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22513999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22514000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22514001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22514002, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22514003, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22514004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22514005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22514006, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22514493 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770475, 'mtr_portfolio_id': 22514493, 'created_at': datetime.datetime(2025, 4, 29, 19, 18, 58), 'result': '0.04284797359379924', 'result_long': None, 'result_double': None}] Qualite : 0.04284797359379924 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22514493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22514493_29-04-2025_19_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22514493 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22514493_29-04-2025_19_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22514508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22514509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22514510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22514511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22514512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22514513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22514514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22514515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22514516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22514517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22514518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22514519, 'pht': 3726}}" where mtr_portfolio_id = 22514493 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22514493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168189, 0.04284797359379924, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22514493_29-04-2025_19_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22514508, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22514509, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22514510, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22514511, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22514512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22514513, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22514514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22514515, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22514516, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22514517, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22514518, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22514519, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22515410 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770544, 'mtr_portfolio_id': 22515410, 'created_at': datetime.datetime(2025, 4, 29, 19, 48, 31), 'result': '0.04480751977323946', 'result_long': None, 'result_double': None}] Qualite : 0.04480751977323946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22515410 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22515410_29-04-2025_19_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22515410 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22515410_29-04-2025_19_48_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22515475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22515476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22515477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22515478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22515479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22515480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22515481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22515482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22515483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22515484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22515485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22515486, 'pht': 3726}}" where mtr_portfolio_id = 22515410 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22515410 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168190, 0.04480751977323946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22515410_29-04-2025_19_48_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22515475, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22515476, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22515477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22515478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22515479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22515480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22515481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22515482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22515483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22515484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22515485, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22515486, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22516911 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770679, 'mtr_portfolio_id': 22516911, 'created_at': datetime.datetime(2025, 4, 29, 20, 2, 58), 'result': '0.04511501033276174', 'result_long': None, 'result_double': None}] Qualite : 0.04511501033276174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22516911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22516911_29-04-2025_20_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22516911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22516911_29-04-2025_20_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22516932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22516933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22516934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22516935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22516936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22516937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22516938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22516939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22516940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22516941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22516943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22516944, 'pht': 3726}}" where mtr_portfolio_id = 22516911 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22516911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168191, 0.04511501033276174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22516911_29-04-2025_20_02_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22516932, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22516933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22516934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22516935, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22516936, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22516937, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22516938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22516939, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22516940, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22516941, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22516943, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22516944, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22517442 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770736, 'mtr_portfolio_id': 22517442, 'created_at': datetime.datetime(2025, 4, 29, 20, 16, 29), 'result': '0.04685880113544328', 'result_long': None, 'result_double': None}] Qualite : 0.04685880113544328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22517442 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22517442_29-04-2025_20_16_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22517442 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22517442_29-04-2025_20_16_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22517477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22517478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22517479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22517480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22517481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22517482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22517483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22517484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22517485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22517486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22517487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22517488, 'pht': 3726}}" where mtr_portfolio_id = 22517442 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22517442 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168192, 0.04685880113544328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22517442_29-04-2025_20_16_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22517477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22517478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22517479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22517480, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22517481, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22517482, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22517483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22517484, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22517485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22517486, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22517487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22517488, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22518571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770811, 'mtr_portfolio_id': 22518571, 'created_at': datetime.datetime(2025, 4, 29, 20, 32, 59), 'result': '0.0307551172140621', 'result_long': None, 'result_double': None}] Qualite : 0.0307551172140621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22518571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22518571_29-04-2025_20_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22518571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22518571_29-04-2025_20_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22518572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22518573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22518574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22518575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22518576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22518577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22518578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22518579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22518580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22518581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22518582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22518583, 'pht': 3726}}" where mtr_portfolio_id = 22518571 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22518571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168193, 0.0307551172140621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22518571_29-04-2025_20_33_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22518572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22518573, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22518574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22518575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22518576, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22518577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22518578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22518579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22518580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22518581, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22518582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22518583, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22519158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2770874, 'mtr_portfolio_id': 22519158, 'created_at': datetime.datetime(2025, 4, 29, 21, 6, 57), 'result': '0.017748344266423702', 'result_long': None, 'result_double': None}] Qualite : 0.017748344266423702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22519158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519158_29-04-2025_21_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22519158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519158_29-04-2025_21_06_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22519220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22519221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22519222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22519223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22519224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22519225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22519226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22519227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22519228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22519229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22519230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22519231, 'pht': 3726}}" where mtr_portfolio_id = 22519158 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22519158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168194, 0.017748344266423702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519158_29-04-2025_21_06_58.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22519220, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22519221, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22519222, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22519223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22519224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22519225, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22519226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22519227, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22519228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22519229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22519230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22519231, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22519997 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2771006, 'mtr_portfolio_id': 22519997, 'created_at': datetime.datetime(2025, 4, 29, 21, 20, 59), 'result': '0.04300929159408317', 'result_long': None, 'result_double': None}] Qualite : 0.04300929159408317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22519997 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519997_29-04-2025_21_20_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22519997 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519997_29-04-2025_21_20_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22520034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22520035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22520036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22520037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22520038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22520039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22520040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22520041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22520042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22520043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22520044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22520045, 'pht': 3726}}" where mtr_portfolio_id = 22519997 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22519997 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168195, 0.04300929159408317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22519997_29-04-2025_21_20_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22520034, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22520035, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22520036, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22520037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22520038, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22520039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22520040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22520041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22520042, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22520043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22520044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22520045, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22520402 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2771043, 'mtr_portfolio_id': 22520402, 'created_at': datetime.datetime(2025, 4, 29, 21, 41), 'result': '0.08155090790602158', 'result_long': None, 'result_double': None}] Qualite : 0.08155090790602158 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22520402 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22520402_29-04-2025_21_41_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22520402 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22520402_29-04-2025_21_41_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22520405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22520406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22520407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22520408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22520409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22520410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22520411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22520412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22520413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22520414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22520415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22520416, 'pht': 3726}}" where mtr_portfolio_id = 22520402 and dashboard_run_id = 1765154 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22520402 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10168196, 0.08155090790602158, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22520402_29-04-2025_21_41_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22520405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22520406, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22520407, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22520408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22520409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22520410, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22520411, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22520412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22520413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22520414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22520415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22520416, '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 (22477311,22477922,22478782,22479325,22480120,22480527,22481033,22481383,22482050,22482526,22482869,22483157,22483567,22484300,22484838,22484935,22485327,22485609,22486100,22486753,22487482,22488782,22489211,22491637,22492266,22493217,22493912,22494596,22499161,22499747,22500679,22501536,22502359,22503387,22503951,22504760,22505803,22506728,22507674,22508742,22509404,22510706,22511877,22513234,22513927,22514493,22515410,22516911,22517442,22518571,22519158,22519997,22520402) result : ((1354065999,), (1354066049,), (1354066055,), (1354066060,), (1354066067,), (1354066107,), (1354066110,), (1354066113,), (1354066117,), (1354066122,), (1354066127,), (1354066145,), (1354066151,), (1354066154,), (1354066159,), (1354066192,), (1354066195,), (1354066197,), (1354066200,), (1354066232,), (1354066236,), (1354066238,), (1354066241,), (1354066244,), (1354066287,), (1354066293,), (1354066296,), (1354066299,), (1354066327,), (1354066331,), (1354066334,), (1354066335,), (1354066338,), (1354066382,), (1354066683,), (1354066696,), (1354066714,), (1354066730,), (1354066733,), (1354066735,), (1354066744,), (1354066748,), (1354066752,), (1354066815,), (1354066818,), (1354066820,), (1354066835,), (1354066857,), (1354066947,), (1354066950,), (1354066953,), (1354066956,), (1354066957,), (1354066978,), (1354067061,), (1354067064,), (1354067065,), (1354067066,), (1354067118,), (1354067091,), (1354067100,), (1354067108,), (1354067115,), (1354067146,), (1354067149,), (1354067152,), (1354067155,), (1354067159,), (1354067166,), (1354067192,), (1354067202,), (1354067223,), (1354067243,), (1354067330,), (1354067337,), (1354067351,), (1354067516,), (1354067543,), (1354067827,), (1354068930,), (1354068939,), (1354069018,), (1354069028,), (1354069031,), (1354069043,), (1354069048,), (1354069145,), (1354069153,), (1354069605,), (1354069660,), (1354069668,), (1354069671,), (1354069759,), (1354069768,), (1354069770,), (1354069904,), (1354069908,), (1354069910,), (1354069912,), (1354069913,), (1354070088,), (1354070173,), (1354070176,), (1354070177,), (1354070178,), (1354070411,), (1354070415,), (1354070417,), (1354070605,), (1354070607,), (1354070612,), (1354070620,), (1354070623,), (1354070789,), (1354070819,), (1354070852,), (1354070885,), (1354070953,), (1354071263,), (1354071272,), (1354071280,), (1354071423,), (1354071427,), (1354071431,), (1354071436,), (1354071438,), (1354071478,), (1354071494,), (1354071503,), (1354071513,), (1354071524,), (1354071892,), (1354071894,), (1354071896,), (1354071942,), (1354071947,), (1354071952,), (1354071954,), (1354072001,), (1354072015,), (1354072021,), (1354072027,), (1354072033,), (1354072080,), (1354072096,), (1354072148,), (1354072156,), (1354072164,), (1354072334,), (1354072884,), (1354072890,), (1354073348,), (1354073334,), (1354073340,), (1354073896,), (1354073961,), (1354073999,), (1354074028,), (1354074321,), (1354074353,), (1354074384,), (1354074499,), (1354074505,), (1354074510,), (1354074655,), (1354074660,), (1354074668,), (1354074679,), (1354074714,), (1354074722,), (1354074782,), (1354074788,), (1354074806,), (1354074861,), (1354074873,), (1354075004,), (1354075065,), (1354075112,), (1354075115,), (1354075179,), (1354075181,), (1354075183,), (1354075186,), (1354075189,), (1354075208,), (1354075213,), (1354075253,), (1354075259,), (1354075267,), (1354075315,), (1354075344,), (1354075376,), (1354075494,), (1354075862,), (1354075868,), (1354075871,), (1354075874,), (1354075878,), (1354075955,), (1354075961,), (1354075968,), (1354076025,), (1354076028,), (1354076032,), (1354076033,), (1354076037,), (1354076094,), (1354083921,), (1354083960,), (1354083989,), (1354083990,), (1354084008,), (1354084013,), (1354084016,), (1354084037,), (1354084040,), (1354084042,), (1354084060,), (1354084065,), (1354084069,), (1354084072,), (1354084091,), (1354084114,), (1354084117,), (1354084119,), (1354084121,), (1354084137,), (1354084138,), (1354084139,), (1354084141,), (1354084143,), (1354084171,), (1354084173,), (1354084175,), (1354084177,), (1354084215,), (1354084217,), (1354084221,), (1354084345,), (1354084397,), (1354084428,), (1354084455,), (1354084485,), (1354084701,), (1354084728,), (1354084753,), (1354084775,), (1354084796,), (1354084820,), (1354084959,), (1354084967,), (1354084971,), (1354084973,), (1354085043,), (1354085046,), (1354085048,), (1354085051,), (1354085112,), (1354085074,), (1354085083,), (1354085107,), (1354085109,), (1354085111,), (1354085133,), (1354085138,), (1354085141,), (1354085144,), (1354085245,), (1354085293,), (1354085296,), (1354085300,), (1354085318,), (1354085321,), (1354085324,), (1354085327,), (1354085355,), (1354085359,), (1354085362,), (1354085400,), (1354085405,), (1354085408,), (1354085432,), (1354085434,), (1354085437,), (1354085439,), (1354085442,), (1354085455,), (1354085463,), (1354085471,), (1354087337,), (1354087538,), (1354087657,), (1354087659,), (1354087724,), (1354087730,), (1354087738,), (1354087741,), (1354087744,), (1354087759,), (1354087761,), (1354087763,), (1354087765,), (1354087768,), (1354088287,), (1354088317,), (1354088498,), (1354088501,), (1354088504,), (1354088507,), (1354088514,), (1354088767,), (1354088774,), (1354088799,), (1354088829,), (1354088859,), (1354088890,), (1354088942,), (1354088947,), (1354088974,), (1354089045,), (1354089106,), (1354089136,), (1354089151,), (1354089186,), (1354089277,), (1354089290,), (1354089291,), (1354089292,), (1354089320,), (1354089322,), (1354089325,), (1354089327,), (1354089360,), (1354089362,), (1354089389,), (1354089391,), (1354089418,), (1354089423,), (1354089427,), (1354089432,), (1354089435,), (1354089473,), (1354089477,), (1354089482,), (1354089486,), (1354089554,), (1354089594,), (1354089610,), (1354089616,), (1354089673,), (1354089678,), (1354089683,), (1354089688,), (1354089723,), (1354089726,), (1354089729,), (1354089756,), (1354089759,), (1354089768,), (1354089805,), (1354089827,), (1354089860,), (1354089864,), (1354089868,), (1354089871,), (1354089875,), (1354089877,), (1354089913,), (1354089903,), (1354089908,), (1354089911,), (1354089953,), (1354089965,), (1354089972,), (1354089976,), (1354089980,), (1354090014,), (1354090019,), (1354090023,), (1354090025,), (1354090028,), (1354090087,), (1354090092,), (1354090094,), (1354090100,), (1354090144,), (1354090146,), (1354090150,), (1354090152,), (1354090267,), (1354090270,), (1354090272,), (1354090273,), (1354090274,), (1354090275,), (1354090300,), (1354090311,), (1354090322,), (1354090328,), (1354090331,), (1354090394,), (1354090401,), (1354090410,), (1354090411,), (1354090437,), (1354090440,), (1354090443,), (1354090447,), (1354090451,), (1354090461,), (1354090504,), (1354090507,), (1354090521,), (1354090547,), (1354090572,), (1354090601,), (1354090699,), (1354090724,), (1354090729,), (1354090913,), (1354090918,), (1354090926,), (1354091081,), (1354091108,), (1354091139,), (1354091165,), (1354091193,), (1354091218,), (1354091558,), (1354091609,), (1354091688,), (1354091761,), (1354091836,), (1354091920,), (1354092482,), (1354096118,), (1354096010,), (1354096116,), (1354096151,), (1354096157,), (1354096162,), (1354096166,), (1354096196,), (1354096199,), (1354096203,), (1354096235,), (1354096240,), (1354096877,), (1354096887,), (1354096891,), (1354096957,), (1354096974,), (1354096979,), (1354096982,), (1354096986,), (1354097002,), (1354097013,), (1354097017,), (1354097020,), (1354097024,), (1354097048,), (1354097052,), (1354097054,), (1354097056,), (1354097080,), (1354097085,), (1354097090,), (1354097661,), (1354097701,), (1354097738,), (1354097774,), (1354099224,), (1354099285,), (1354099317,), (1354099355,), (1354100069,), (1354099877,), (1354099952,), (1354100013,), (1354100260,), (1354100311,), (1354100363,), (1354100869,), (1354100873,), (1354101018,), (1354101204,), (1354101206,), (1354101207,), (1354101255,), (1354101261,), (1354101264,), (1354101269,), (1354101272,), (1354101275,), (1354101297,), (1354101300,), (1354101301,), (1354101335,), (1354101339,), (1354101342,), (1354101345,), (1354101348,), (1354101372,), (1354101373,), (1354101374,), (1354101375,), (1354101414,), (1354101477,), (1354101541,), (1354101572,), (1354101607,), (1354101613,), (1354101617,), (1354101620,), (1354101664,), (1354101646,), (1354101650,), (1354101655,), (1354101659,), (1354101701,), (1354101703,), (1354101704,), (1354101705,), (1354101707,), (1354101858,), (1354101895,), (1354101901,), (1354101912,), (1354101947,), (1354102527,), (1354103915,), (1354104876,), (1354104869,), (1354104873,), (1354105011,), (1354105017,), (1354105022,), (1354105054,), (1354105060,), (1354105066,), (1354105072,), (1354105079,), (1354105117,), (1354105142,), (1354105152,), (1354105159,), (1354105185,), (1354105191,), (1354105198,), (1354105203,), (1354105207,), (1354105211,), (1354105240,), (1354105247,), (1354105276,), (1354105647,), (1354105678,), (1354105707,), (1354105738,), (1354105767,), (1354105799,), (1354105987,), (1354105991,), (1354105995,), (1354106003,), (1354106006,), (1354106198,), (1354106203,), (1354106205,), (1354106209,), (1354106374,), (1354106380,), (1354106384,), (1354106388,), (1354106392,), (1354106395,), (1354106514,), (1354106547,), (1354106576,), (1354106606,), (1354106639,), (1354106672,), (1354106708,), (1354106692,), (1354106697,), (1354106702,), (1354106706,), (1354106735,), (1354106739,), (1354106741,), (1354106751,), (1354106776,), (1354106783,), (1354106785,), (1354106787,), (1354106789,), (1354106792,), (1354106831,), (1354106835,), (1354106838,), (1354106839,), (1354106843,), (1354106846,), (1354106883,), (1354106891,), (1354106896,), (1354106910,), (1354107086,), (1354107122,), (1354107164,), (1354107169,), (1354107174,), (1354107182,), (1354107225,), (1354107226,), (1354107228,), (1354107229,), (1354107232,), (1354107235,), (1354107269,), (1354107274,), (1354107278,), (1354107281,), (1354107285,), (1354107313,), (1354107315,), (1354107318,), (1354107321,), (1354107356,), (1354107361,), (1354107366,), (1354107368,), (1354107373,), (1354107564,), (1354107569,), (1354107614,), (1354107627,), (1354107637,), (1354107656,), (1354107743,), (1354107795,), (1354107870,), (1354107898,), (1354108216,), (1354108220,), (1354108226,), (1354108235,), (1354108246,), (1354108254,), (1354108261,), (1354108262,), (1354108324,), (1354108302,), (1354108316,), (1354108320,), (1354108364,), (1354108679,), (1354108683,), (1354108777,), (1354108783,), (1354108787,), (1354108997,), (1354109050,), (1354109054,), (1354109056,), (1354109164,), (1354109201,), (1354109204,), (1354109207,), (1354109212,), (1354109284,), (1354109287,), (1354109296,), (1354109307,), (1354109344,), (1354109347,), (1354109349,), (1354109352,), (1354109378,), (1354109382,), (1354109389,), (1354109433,), (1354109436,), (1354109439,), (1354109441,), (1354109442,), (1354109474,), (1354109484,), (1354109491,), (1354109497,), (1354109502,), (1354109578,), (1354114537,), (1354114535,), (1354114585,), (1354114624,), (1354114626,), (1354114628,), (1354114662,), (1354114665,), (1354114687,), (1354114689,), (1354114691,), (1354114693,), (1354114695,), (1354114716,), (1354114719,), (1354114722,), (1354114724,), (1354114727,), (1354114744,), (1354114749,), (1354114801,), (1354114780,), (1354114791,), (1354114795,), (1354114797,), (1354114799,), (1354114826,), (1354114827,), (1354114828,), (1354114829,), (1354114873,), (1354114874,), (1354114894,), (1354114897,), (1354114898,), (1354114901,), (1354114946,), (1354114947,), (1354114948,), (1354114949,), (1354114951,), (1354114975,), (1354114976,), (1354114978,), (1354114983,), (1354114985,), (1354115017,), (1354115018,), (1354115019,), (1354115020,), (1354115022,), (1354115044,), (1354115046,), (1354115473,), (1354116374,), (1354116428,), (1354116432,), (1354116437,), (1354116440,), (1354116444,), (1354116466,), (1354116469,), (1354116499,), (1354116502,), (1354116506,), (1354116510,), (1354116535,), (1354116539,), (1354116611,), (1354116619,), (1354116621,), (1354116622,), (1354116624,), (1354116626,), (1354116673,), (1354116683,), (1354116686,), (1354116689,), (1354116691,), (1354116694,), (1354116734,), (1354116737,), (1354116739,), (1354116769,), (1354116770,), (1354116772,), (1354116775,), (1354116805,), (1354116809,), (1354116839,), (1354116841,), (1354116845,), (1354116847,), (1354116852,), (1354116857,), (1354116875,), (1354116879,), (1354116883,), (1354116887,), (1354116890,), (1354116894,), (1354116919,), (1354116925,), (1354116930,), (1354116932,), (1354116964,), (1354116969,), (1354116973,), (1354116976,), (1354116979,), (1354117012,), (1354117017,), (1354117020,), (1354117024,), (1354117069,), (1354117053,), (1354117063,), (1354117066,), (1354117098,), (1354117103,), (1354117107,), (1354117110,), (1354117113,), (1354117135,), (1354117138,), (1354117141,), (1354117144,), (1354117175,), (1354117178,), (1354117181,), (1354117183,), (1354117218,), (1354117219,), (1354117220,), (1354117248,), (1354117251,), (1354117253,), (1354117256,), (1354117274,), (1354117278,), (1354117281,), (1354117310,), (1354117314,), (1354117315,), (1354117316,), (1354117344,), (1354117348,), (1354117384,), (1354117418,), (1354117420,), (1354117421,), (1354117424,), (1354117465,), (1354117468,), (1354117474,), (1354117487,), (1354117521,), (1354117523,), (1354117524,), (1354117525,), (1354117527,), (1354117566,), (1354117571,), (1354117574,), (1354117577,), (1354117581,), (1354117584,), (1354117610,), (1354117615,), (1354117623,), (1354117628,), (1354117688,), (1354117674,), (1354117680,), (1354117684,), (1354117719,), (1354117724,), (1354117728,), (1354117733,), (1354117739,), (1354117743,), (1354117768,), (1354117772,), (1354117781,), (1354117789,), (1354117835,), (1354117843,), (1354117847,), (1354117850,), (1354117898,), (1354117904,), (1354117907,), (1354117909,), (1354117969,), (1354117976,), (1354117979,), (1354117982,), (1354117986,), (1354117989,), (1354118029,), (1354118032,), (1354118036,), (1354118076,), (1354118079,), (1354118080,), (1354118083,), (1354118086,), (1354118122,), (1354118127,), (1354118135,), (1354118138,), (1354118140,), (1354118144,), (1354118176,), (1354118179,), (1354118182,), (1354118185,), (1354118187,), (1354118224,), (1354118229,), (1354118232,), (1354118279,), (1354118295,), (1354118325,), (1354118352,), (1354118383,), (1354118411,), (1354118655,), (1354118662,), (1354118668,), (1354118676,), (1354120099,), (1354120135,), (1354120196,), (1354120634,), (1354120518,), (1354120547,), (1354120574,), (1354120606,), (1354120775,), (1354120780,), (1354120785,), (1354120791,), (1354120794,), (1354120831,), (1354120878,), (1354120907,), (1354120912,), (1354120917,), (1354120921,), (1354120965,), (1354120968,), (1354120971,), (1354120974,), (1354120979,), (1354121008,), (1354121013,), (1354121017,), (1354121022,), (1354121052,), (1354121056,), (1354121105,), (1354121108,), (1354121112,), (1354121116,), (1354121120,), (1354121183,), (1354121187,), (1354121189,), (1354121191,), (1354121193,), (1354121197,), (1354121256,), (1354121266,), (1354121275,), (1354121379,), (1354121384,), (1354121389,), (1354121397,), (1354121401,), (1354121428,), (1354121432,), (1354121435,), (1354121437,), (1354121462,), (1354121466,), (1354121502,), (1354121506,), (1354121510,), (1354121514,), (1354121741,), (1354121744,), (1354121751,), (1354121757,), (1354121761,), (1354121793,), (1354121797,), (1354121803,), (1354121807,), (1354121813,), (1354121892,), (1354121850,), (1354121854,), (1354121863,), (1354121889,), (1354121991,), (1354121995,), (1354122100,), (1354122103,), (1354122106,), (1354122109,), (1354122133,), (1354122159,), (1354122275,), (1354122301,), (1354122324,), (1354122327,), (1354122366,), (1354122370,), (1354122375,), (1354122435,), (1354122437,), (1354122440,), (1354122443,), (1354122446,), (1354122449,), (1354122491,), (1354122493,), (1354122496,), (1354122499,), (1354122503,), (1354122636,), (1354122638,), (1354122640,), (1354122643,), (1354122645,), (1354122731,), (1354122804,), (1354122810,), (1354122812,), (1354123413,), (1354129804,), (1354130021,), (1354130026,), (1354130029,), (1354130073,), (1354130078,), (1354130083,), (1354130087,), (1354130091,), (1354130198,), (1354130207,), (1354130235,), (1354130249,), (1354130264,), (1354130508,), (1354130607,), (1354130630,), (1354130656,), (1354130685,), (1354130818,), (1354130824,), (1354130844,), (1354130996,), (1354131026,), (1354131031,), (1354131057,), (1354131064,), (1354131314,), (1354131189,), (1354131222,), (1354131250,), (1354131276,), (1354131805,), (1354131856,), (1354131907,), (1354131975,), (1354132322,), (1354132327,), (1354132332,), (1354132337,), (1354132339,), (1354132343,), (1354132365,), (1354132370,), (1354132375,), (1354132380,), (1354132384,), (1354132407,), (1354132411,), (1354132415,), (1354132455,), (1354132468,), (1354132472,), (1354132477,), (1354132481,), (1354132482,), (1354132500,), (1354132516,), (1354132518,), (1354132521,), (1354132525,), (1354132530,), (1354132556,), (1354132559,), (1354132565,), (1354132569,), (1354132573,), (1354132575,), (1354132594,), (1354132598,), (1354132602,), (1354132605,), (1354132637,), (1354132644,), (1354132649,), (1354132655,), (1354132659,), (1354132693,), (1354132699,), (1354132715,), (1354132745,), (1354132773,), (1354132801,), (1354132944,), (1354132972,), (1354132982,), (1354133157,), (1354133207,), (1354133261,), (1354133847,), (1354133876,), (1354133906,), (1354133933,), (1354133941,), (1354133946,), (1354134112,), (1354154266,), (1354154275,), (1354154279,), (1354154282,), (1354154284,), (1354154567,), (1354154596,), (1354154625,), (1354154653,), (1354154683,), (1354154819,), (1354154847,), (1354154872,), (1354154882,), (1354154888,), (1354154893,), (1354155164,), (1354155179,), (1354155262,), (1354155272,), (1354155289,), (1354155365,), (1354155368,), (1354155373,), (1354155379,), (1354155392,), (1354155679,), (1354155706,), (1354155734,), (1354155760,), (1354155787,), (1354156045,), (1354156097,), (1354156127,), (1354156165,), (1354156218,), (1354156716,), (1354156747,), (1354156802,), (1354156852,), (1354156880,), (1354157255,), (1354157288,), (1354157340,), (1354157385,), (1354157426,), (1354157520,), (1354158296,), (1354158346,), (1354158395,), (1354158503,), (1354158580,), (1354159144,), (1354159200,), (1354159251,), (1354159303,), (1354159365,), (1354160028,), (1354160056,), (1354160092,), (1354160142,), (1354160190,), (1354160794,), (1354160669,), (1354160704,), (1354160735,), (1354160763,), (1354161250,), (1354161340,), (1354161463,), (1354161530,), (1354161579,), (1354161991,), (1354162037,), (1354162090,), (1354162143,), (1354162193,), (1354162246,), (1354163409,), (1354163480,), (1354163553,), (1354163624,), (1354163732,), (1354163935,), (1354164682,), (1354164778,), (1354164838,), (1354164903,), (1354164945,), (1354165522,), (1354165615,), (1354165696,), (1354165779,), (1354165845,), (1354166310,), (1354166418,), (1354166515,), (1354166618,), (1354166697,), (1354166755,), (1354167029,), (1354167098,), (1354167175,), (1354167238,), (1354167291,), (1354167343,), (1354167678,), (1354167743,), (1354167771,), (1354167797,), (1354168156,), (1354168199,), (1354168256,), (1354168311,), (1354168364,), (1354168415,), (1354168785,), (1354168812,), (1354168841,), (1354169155,), (1354169161,), (1354169166,), (1354169170,), (1354169173,), (1354169176,), (1354169408,), (1354169460,), (1354169515,), (1354170863,), (1354170972,), (1354171060,), (1354171127,), (1354171209,), (1354171334,), (1354171590,), (1354171647,), (1354171720,), (1354171795,), (1354172587,), (1354172173,), (1354172254,), (1354172351,), (1354172430,), (1354172512,), (1354173239,), (1354173295,), (1354173352,), (1354173408,), (1354173485,), (1354174037,), (1354174113,), (1354174187,), (1354174279,), (1354174347,), (1354175019,), (1354175071,), (1354175078,), (1354175091,), (1354175277,), (1354175442,), (1354175786,), (1354175789,), (1354175791,), (1354175793,), (1354175900,), (1354176099,), (1354176194,), (1354176221,), (1354176251,), (1354176279,), (1354176307,), (1354176601,), (1354176655,), (1354176698,), (1354176746,), (1354176973,), (1354176977,), (1354176981,), (1354176983,), (1354177008,), (1354177034,), (1354177142,), (1354177145,), (1354177148,), (1354177208,), (1354177213,), (1354177253,), (1354177322,), (1354177674,), (1354177693,), (1354177808,), (1354177873,), (1354177876,), (1354177878,), (1354177880,), (1354177883,), (1354178013,), (1354178160,), (1354178188,), (1354178384,), (1354178463,), (1354178469,), (1354178478,), (1354178480,), (1354178492,), (1354178889,), (1354178647,), (1354178690,), (1354178730,), (1354179022,), (1354179027,), (1354179029,), (1354179051,), (1354179078,), (1354179106,), (1354179187,), (1354179200,), (1354179204,), (1354179206,), (1354179209,), (1354179257,), (1354179260,), (1354179263,), (1354179266,), (1354179268,), (1354179271,), (1354179298,), (1354179302,), (1354179305,), (1354179310,), (1354179313,), (1354179462,), (1354179491,), (1354179521,), (1354179700,), (1354179718,), (1354179751,), (1354179764,), (1354179781,), (1354179783,), (1354179814,), (1354179818,), (1354179820,), (1354179823,), (1354179866,), (1354179868,), (1354179871,), (1354179874,), (1354179877,), (1354179878,), (1354179913,), (1354179917,), (1354179921,), (1354179924,), (1354179957,), (1354179959,), (1354179963,), (1354179966,), (1354179970,), (1354179977,), (1354180066,), (1354180096,), (1354180104,), (1354180109,), (1354180164,), (1354180168,), (1354180171,), (1354180175,), (1354180178,), (1354180181,), (1354180207,), (1354180210,), (1354180213,), (1354180216,), (1354180241,), (1354180248,), (1354180309,), (1354180297,), (1354180439,), (1354180468,), (1354180510,), (1354180831,), (1354180849,), (1354180852,), (1354180855,), (1354180859,), (1354180862,), (1354180913,), (1354180918,), (1354180922,), (1354181009,), (1354181743,), (1354253148,), (1354255466,), (1354255814,), (1354255850,), (1354256336,), (1354256388,), (1354256428,), (1354256456,), (1354256992,), (1354257024,), (1354257053,), (1354257083,), (1354257112,), (1354257246,), (1354257750,), (1354257782,), (1354258063,), (1354258085,), (1354258837,), (1354258951,), (1354259052,), (1354259178,), (1354259725,), (1354259942,), (1354259996,), (1354260024,), (1354260039,), (1354260044,), (1354260067,), (1354260070,), (1354260074,), (1354260078,), (1354260514,), (1354260544,), (1354260596,), (1354260611,), (1354260631,), (1354261048,), (1354260919,), (1354260953,), (1354260984,), (1354261012,), (1354261514,), (1354261544,), (1354261576,), (1354261635,), (1354261673,), (1354262292,), (1354262359,), (1354262439,), (1354262507,), (1354262938,), (1354262967,), (1354263025,), (1354263062,), (1354263091,), (1354263122,), (1354263257,), (1354263260,), (1354263265,), (1354263488,), (1354263573,), (1354263601,), (1354263650,), (1354263694,), (1354263949,), (1354264005,), (1354264033,), (1354264045,), (1354264135,), (1354264170,), (1354264202,), (1354264235,), (1354264291,), (1354264343,), (1354264486,), (1354264494,), (1354264500,), (1354264504,), (1354264508,), (1354264511,), (1354264573,), (1354264601,), (1354264633,), (1354264664,), (1354264894,), (1354264897,), (1354264901,), (1354264904,), (1354264907,), (1354264910,), (1354265291,), (1354265302,), (1354265320,), (1354265366,), (1354265406,), (1354265505,), (1354265507,), (1354265538,), (1354265541,), (1354265543,), (1354265545,), (1354265689,), (1354265693,), (1354265897,), (1354265867,), (1354266296,), (1354266321,), (1354266350,), (1354266378,), (1354266698,), (1354266701,), (1354266735,), (1354266820,), (1354266824,), (1354266827,), (1354266830,), (1354266833,), (1354266836,), (1354267075,), (1354267079,), (1354267082,), (1354267092,), (1354267129,), (1354267131,), (1354267133,), (1354267135,), (1354267136,), (1354267139,), (1354267626,), (1354267748,), (1354267777,), (1354267781,), (1354267799,), (1354267899,), (1354267910,), (1354267916,), (1354267919,), (1354268093,), (1354268129,), (1354268159,), (1354268195,), (1354268250,), (1354268302,), (1354268959,), (1354269015,), (1354269073,), (1354269121,), (1354269178,), (1354269248,), (1354269936,), (1354269996,), (1354270054,), (1354270131,), (1354270274,), (1354270655,), (1354270658,), (1354270661,), (1354270686,), (1354270998,), (1354271026,), (1354271040,), (1354271067,), (1354271112,), (1354271183,), (1354271847,), (1354271894,), (1354271950,), (1354272004,), (1354272034,), (1354272060,), (1354272112,), (1354272114,), (1354272117,), (1354272138,), (1354272626,), (1354272529,), (1354273024,), (1354273114,), (1354274754,), (1354274822,), (1354274825,), (1354274830,), (1354275227,), (1354276477,), (1354276499,), (1354276525,), (1354276565,), (1354277313,), (1354277369,), (1354277420,), (1354277448,), (1354277459,), (1354277689,), (1354277692,), (1354277694,), (1354277742,), (1354277766,), (1354277792,), (1354277821,), (1354277914,), (1354277941,), (1354278379,), (1354278407,), (1354278411,), (1354278455,), (1354278515,), (1354278552,), (1354278591,), (1354278616,), (1354278649,), (1354278755,), (1354278765,), (1354278798,), (1354278829,), (1354279367,), (1354279235,), (1354279267,), (1354279297,), (1354279326,), (1354280253,), (1354280330,), (1354280411,), (1354280494,), (1354281884,), (1354282040,), (1354282169,), (1354282304,), (1354282564,), (1354282671,), (1354283772,), (1354284302,), (1354284554,), (1354284602,), (1354284631,), (1354284934,), (1354285023,), (1354285105,), (1354285175,), (1354285948,), (1354286018,), (1354286071,), (1354286122,), (1354286169,), (1354286211,), (1354286445,), (1354286458,), (1354286472,), (1354286479,), (1354286721,), (1354286770,), (1354286834,), (1354287002,), (1354287120,), (1354287266,), (1354287715,), (1354287735,), (1354287739,), (1354287790,), (1354287883,), (1354287979,), (1354288267,), (1354288269,), (1354288275,), (1354288354,), (1354288360,), (1354288372,), (1354288524,), (1354288549,), (1354288678,), (1354288683,), (1354288912,), (1354288722,), (1354288727,), (1354288769,), (1354288829,), (1354289154,), (1354289334,), (1354289443,), (1354289559,), (1354289677,), (1354289795,), (1354290419,), (1354290445,), (1354290460,), (1354290493,), (1354290497,), (1354290501,), (1354290505,), (1354290508,), (1354290513,), (1354291256,), (1354291313,), (1354291366,), (1354291417,), (1354291456,), (1354291840,), (1354291894,), (1354291948,), (1354292346,), (1354292376,), (1354292407,), (1354292466,), (1354292576,), (1354292695,), (1354293062,), (1354293114,), (1354293175,), (1354293232,), (1354293559,), (1354293564,), (1354293566,), (1354293573,), (1354293576,), (1354293580,), (1354293614,), (1354293619,), (1354293621,), (1354293623,), (1354293657,), (1354293683,), (1354293710,), (1354293744,), (1354293773,), (1354293851,), (1354294052,), (1354294081,), (1354294108,), (1354294135,), (1354294377,), (1354294380,), (1354294383,), (1354294385,), (1354294387,), (1354294392,), (1354294522,), (1354294525,), (1354294532,), (1354294534,), (1354294598,), (1354294602,), (1354294605,), (1354294612,), (1354294647,), (1354294675,), (1354294981,), (1354294951,), (1354294960,), (1354294980,), (1354295031,), (1354295037,), (1354295041,), (1354295044,), (1354295063,), (1354295096,), (1354295373,), (1354295403,), (1354295432,), (1354295971,), (1354296002,), (1354296253,), (1354296255,), (1354296259,), (1354296263,), (1354296267,), (1354296271,), (1354296384,), (1354296406,), (1354296418,), (1354296863,), (1354296892,), (1354296925,), (1354296963,), (1354296970,), (1354296972,), (1354297071,), (1354297089,), (1354297106,), (1354297136,), (1354297243,), (1354297248,), (1354297251,), (1354297255,), (1354297258,), (1354297264,), (1354297527,), (1354297584,), (1354297700,), (1354297753,), (1354298064,), (1354298066,), (1354298069,), (1354298082,), (1354298109,), (1354298182,), (1354298365,), (1354298369,), (1354298391,), (1354298395,), (1354298702,), (1354298742,), (1354298753,), (1354299263,), (1354299317,), (1354299360,), (1354299589,), (1354299622,), (1354299626,), (1354299629,), (1354299633,), (1354299973,), (1354299924,), (1354299936,), (1354300461,), (1354300516,), (1354300977,), (1354301003,), (1354301545,), (1354301554,), (1354301561,), (1354301786,), (1354301791,), (1354301796,), (1354301797,), (1354301799,), (1354301801,), (1354301850,), (1354301878,), (1354301909,), (1354301936,), (1354301964,), (1354301991,), (1354302136,), (1354302153,), (1354302172,), (1354302266,), (1354302270,), (1354302273,), (1354302276,), (1354302278,), (1354302281,), (1354302390,), (1354302421,), (1354302457,), (1354302480,), (1354302601,), (1354302628,), (1354302688,), (1354302756,), (1354302807,), (1354302844,), (1354303401,), (1354303407,), (1354303416,), (1354303444,), (1354303454,), (1354303467,), (1354303470,), (1354303475,), (1354303478,), (1354303481,), (1354303604,), (1354303497,), (1354303500,), (1354303505,), (1354303601,), (1354303737,), (1354303766,), (1354303794,), (1354303822,), (1354303831,), (1354303835,), (1354303906,), (1354303931,), (1354303935,), (1354303939,), (1354303953,), (1354304145,), (1354304150,), (1354304157,), (1354304177,), (1354304213,), (1354304235,), (1354304486,), (1354304513,), (1354304550,), (1354304588,), (1354304761,), (1354304767,), (1354304773,), (1354304778,), (1354304781,), (1354304802,), (1354304894,), (1354304936,), (1354304988,), (1354305043,), (1354305099,), (1354305127,), (1354305278,), (1354305299,), (1354305309,), (1354305313,), (1354305731,), (1354305760,), (1354305787,), (1354305835,), (1354305875,), (1354306160,), (1354306166,), (1354306170,), (1354306174,), (1354306178,), (1354306249,), (1354306361,), (1354306389,), (1354306414,), (1354306418,), (1354306422,), (1354306628,), (1354306647,), (1354306663,), (1354306750,), (1354306778,), (1354306929,), (1354306933,), (1354306962,), (1354307012,), (1354307040,), (1354307069,), (1354307257,), (1354307260,), (1354307264,), (1354307446,), (1354307473,), (1354307478,), (1354307501,), (1354307503,), (1354307509,), (1354307889,), (1354307730,), (1354307733,), (1354307741,), (1354307747,), (1354308026,), (1354308029,), (1354308032,), (1354308037,), (1354308042,), (1354308073,), (1354308078,), (1354308102,), (1354308106,), (1354308114,), (1354308149,), (1354308482,), (1354308508,), (1354308534,), (1354308904,), (1354308933,), (1354308964,), (1354308997,), (1354309031,), (1354309061,), (1354309347,), (1354309372,), (1354309374,), (1354309418,), (1354309450,), (1354309601,), (1354309620,), (1354309638,), (1354309648,), (1354309651,), (1354309696,), (1354309818,), (1354309821,), (1354309824,), (1354309826,), (1354309830,), (1354310305,), (1354310307,), (1354310343,), (1354310345,), (1354310510,), (1354310516,), (1354310520,), (1354310527,), (1354310530,), (1354310534,), (1354310559,), (1354310562,), (1354310565,), (1354310572,), (1354310593,), (1354311066,), (1354311104,), (1354311157,), (1354311218,), (1354311300,), (1354311349,), (1354312044,), (1354312081,), (1354312114,), (1354312198,), (1354312226,), (1354313165,), (1354313246,), (1354313275,), (1354313305,), (1354313336,), (1354313399,), (1354314001,), (1354314037,), (1354314043,), (1354314046,), (1354314049,), (1354314650,), (1354314326,), (1354314361,), (1354314513,), (1354314577,), (1354314622,), (1354314977,), (1354314984,), (1354314995,), (1354315038,), (1354315385,), (1354315438,), (1354315465,), (1354315482,), (1354315520,), (1354315531,), (1354315744,), (1354315805,), (1354315912,), (1354316636,), (1354316653,), (1354316655,), (1354316657,), (1354316791,), (1354316797,), (1354316876,), (1354316955,), (1354316958,), (1354318214,), (1354318243,), (1354318289,), (1354318357,), (1354318392,), (1354318429,), (1354318495,), (1354318501,), (1354318506,), (1354318510,), (1354318514,), (1354318641,), (1354318674,), (1354318705,), (1354318734,), (1354318771,), (1354318833,), (1354319201,), (1354319228,), (1354319236,), (1354319273,), (1354319313,), (1354319728,), (1354319818,), (1354319859,), (1354319903,), (1354320125,), (1354320129,), (1354320157,), (1354320223,), (1354320250,), (1354320254,), (1354320339,), (1354320370,), (1354320400,), (1354320430,), (1354320461,), (1354320637,), (1354320571,), (1354320607,), (1354320628,), (1354320632,), (1354320634,), (1354320887,), (1354320908,), (1354320920,), (1354320963,), (1354321320,), (1354321438,), (1354321466,), (1354321503,), (1354321552,), (1354321580,), (1354321839,), (1354321867,), (1354321895,), (1354321928,), (1354322137,), (1354322146,), (1354322197,), (1354322443,), (1354322717,), (1354322812,), (1354323048,), (1354323091,), (1354323148,), (1354324725,), (1354325276,), (1354326380,), (1354326445,), (1354326497,), (1354326615,), (1354326813,), (1354326893,), (1354327405,), (1354327445,), (1354327604,), (1354327662,), (1354328343,), (1354328377,), (1354328405,), (1354328997,), (1354329031,), (1354329064,), (1354329096,), (1354329128,), (1354329180,), (1354329878,), (1354329908,), (1354329934,), (1354329941,), (1354330479,), (1354330305,), (1354330426,), (1354331387,), (1354331480,), (1354331567,), (1354331649,), (1354331757,), (1354331829,), (1354332717,), (1354332780,), (1354332854,), (1354333762,), (1354333845,), (1354333929,), (1354334050,), (1354334167,), (1354334303,), (1354334876,), (1354334906,), (1354334912,), (1354334914,), (1354335455,), (1354335539,), (1354335622,), (1354335679,), (1354335739,), (1354335794,), (1354336142,), (1354336342,), (1354336427,), (1354336498,), (1354336544,), (1354336791,), (1354336794,), (1354336803,), (1354336832,), (1354336888,), (1354336894,), (1354336921,), (1354336951,), (1354336980,), (1354337009,), (1354337215,), (1354337222,), (1354337227,), (1354337248,), (1354337315,), (1354337321,), (1354337324,), (1354337328,), (1354337352,), (1354337360,), (1354337401,), (1354337409,), (1354337416,), (1354337420,), (1354337916,), (1354337967,), (1354338016,), (1354338078,), (1354338137,), (1354338688,), (1354338697,), (1354338701,), (1354338710,), (1354338717,), (1354338899,), (1354338922,), (1354338931,), (1354338937,), (1354338961,), (1354339927,), (1354339596,), (1354339820,), (1354339897,), (1354340265,), (1354340314,), (1354340365,), (1354340420,), (1354340475,), (1354340849,), (1354340879,), (1354340907,), (1354340935,), (1354340962,), (1354341133,), (1354341177,), (1354341207,), (1354341275,), (1354341303,), (1354341523,), (1354341525,), (1354341530,), (1354341533,), (1354341536,), (1354341559,), (1354341996,), (1354342052,), (1354342106,), (1354342157,), (1354342743,), (1354342823,), (1354343022,), (1354343172,), (1354343328,), (1354343497,), (1354344741,), (1354344792,), (1354344839,), (1354345474,), (1354345560,), (1354346584,), (1354346936,), (1354347714,), (1354348284,), (1354348398,), (1354348600,), (1354348644,), (1354348670,), (1354348699,), (1354348910,), (1354348935,), (1354348961,), (1354348988,), (1354349556,), (1354349614,), (1354349661,), (1354349713,), (1354349758,), (1354349784,), (1354350061,), (1354350075,), (1354350078,), (1354350080,), (1354350082,), (1354350213,), (1354356615,), (1354356628,), (1354356632,), (1354356636,), (1354356656,), (1354356850,), (1354356860,), (1354356865,), (1354356892,), (1354356906,), (1354356926,), (1354357368,), (1354357394,), (1354357420,), (1354357448,), (1354357750,), (1354357777,), (1354357803,), (1354357830,), (1354357891,), (1354357920,), (1354358177,), (1354358224,), (1354358228,), (1354358232,), (1354358264,), (1354358267,), (1354358274,), (1354358277,), (1354358281,), (1354358284,), (1354358341,), (1354358372,), (1354358403,), (1354358431,), (1354358758,), (1354358768,), (1354358771,), (1354358774,), (1354358777,), (1354358779,), (1354358903,), (1354358907,), (1354358931,), (1354359060,), (1354359130,), (1354359154,), (1354359181,), (1354359207,), (1354359242,), (1354359680,), (1354359718,), (1354359747,), (1354359776,), (1354359805,), (1354359839,), (1354360369,), (1354360477,), (1354360549,), (1354361036,), (1354361066,), (1354361105,), (1354361137,), (1354361165,), (1354361601,), (1354361698,), (1354361767,), (1354362012,), (1354373227,), (1354373255,), (1354373288,), (1354373321,), (1354374382,), (1354374498,), (1354374595,), (1354374687,), (1354374806,), (1354374861,), (1354375336,), (1354375394,), (1354375454,), (1354375506,), (1354375564,), (1354375876,), (1354375903,), (1354375933,), (1354375947,), (1354376152,), (1354376156,), (1354376160,), (1354376164,), (1354376173,), (1354376202,), (1354376593,), (1354376629,), (1354376658,), (1354376920,), (1354376985,), (1354377013,), (1354377043,), (1354377051,), (1354377248,), (1354377276,), (1354377332,), (1354377376,), (1354377410,), (1354377719,), (1354377748,), (1354377778,), (1354377808,), (1354377838,), (1354378134,), (1354378168,), (1354378188,), (1354378192,), (1354378393,), (1354378340,), (1354378365,), (1354378377,), (1354378383,), (1354378388,), (1354378479,), (1354378525,), (1354378541,), (1354378543,), (1354378547,), (1354378850,), (1354378853,), (1354378856,), (1354378922,), (1354378927,), (1354378932,), (1354378988,), (1354378990,), (1354378994,), (1354380916,), (1354383135,), (1354383355,), (1354383933,), (1354383999,), (1354384050,), (1354384097,), (1354384149,), (1354384207,), (1354384840,), (1354384870,), (1354384930,), (1354384959,), (1354385097,), (1354385157,), (1354385214,), (1354385278,), (1354385325,), (1354385526,), (1354385462,), (1354385494,), (1354386204,), (1354386280,), (1354386364,), (1354386593,), (1354386674,), (1354386801,), (1354387365,), (1354387435,), (1354387488,), (1354387556,), (1354387585,), (1354388024,), (1354388053,), (1354388081,), (1354388099,), (1354388129,), (1354388156,), (1354388946,), (1354388982,), (1354389034,), (1354389084,), (1354389179,), (1354389653,), (1354389896,), (1354389900,), (1354389927,), (1354389952,), (1354389966,), (1354390274,), (1354390311,), (1354390370,), (1354390418,), (1354390694,), (1354390712,), (1354390726,), (1354390753,), (1354390782,), (1354391021,), (1354391057,), (1354391092,), (1354391098,), (1354391101,), (1354391313,), (1354391336,), (1354391369,), (1354391388,), (1354391550,), (1354391558,), (1354391570,), (1354391573,), (1354391576,), (1354391578,), (1354391612,), (1354391637,), (1354391668,), (1354391703,), (1354392051,), (1354392120,), (1354392123,), (1354392125,), (1354392127,), (1354392128,), (1354392971,), (1354393072,), (1354393207,), (1354393485,), (1354393759,), (1354393924,), (1354393982,), (1354393989,), (1354394023,), (1354394026,), (1354394409,), (1354394343,), (1354394371,), (1354394391,), (1354394404,), (1354394838,), (1354394878,), (1354394913,), (1354394940,), (1354395142,), (1354395221,), (1354395615,), (1354395683,), (1354395686,), (1354395722,), (1354395832,), (1354395859,), (1354395893,), (1354396247,), (1354396268,), (1354396276,), (1354396298,), (1354396458,), (1354397202,), (1354397205,), (1354397208,), (1354397219,), (1354397261,), (1354397761,), (1354397789,), (1354397821,), (1354397832,), (1354397836,), (1354397975,), (1354398273,), (1354398845,), (1354398884,), (1354399223,), (1354399287,), (1354410861,), (1354411336,), (1354411370,), (1354411373,), (1354411383,), (1354411388,), (1354411629,), (1354411909,), (1354411925,), (1354411950,), (1354411980,), (1354411986,), (1354412108,), (1354412109,), (1354412340,), (1354412604,), (1354412899,), (1354413121,), (1354413123,), (1354413127,), (1354413130,), (1354413164,), (1354413183,), (1354413186,), (1354413188,), (1354413192,), (1354413195,), (1354413775,), (1354413783,), (1354413813,), (1354413910,), (1354413956,), (1354414570,), (1354414634,), (1354414706,), (1354414793,), (1354414879,), (1354414937,), (1354415816,), (1354415884,), (1354415988,), (1354416033,), (1354416076,), (1354416421,), (1354416425,), (1354416449,), (1354416477,), (1354416480,), (1354416482,), (1354417511,), (1354417563,), (1354417622,), (1354417687,), (1354417750,), (1354417976,), (1354417992,), (1354418058,), (1354418077,), (1354418135,), (1354418160,), (1354418224,), (1354418240,), (1354418341,), (1354418371,), (1354419016,), (1354418738,), (1354418830,), (1354418913,), (1354420026,), (1354420190,), (1354420300,), (1354421348,), (1354421426,), (1354421500,), (1354421760,), (1354421944,), (1354422062,), (1354422835,), (1354422906,), (1354422959,), (1354423090,), (1354423845,), (1354423850,), (1354423868,), (1354423899,), (1354423944,), (1354423979,), (1354424148,), (1354424152,), (1354424165,), (1354424235,), (1354424279,), (1354424307,), (1354424335,), (1354424364,), (1354425078,), (1354426668,), (1354426710,), (1354426747,), (1354426790,), (1354427622,), (1354427529,), (1354428585,), (1354428613,), (1354429214,), (1354429243,), (1354429272,), (1354429315,), (1354429363,), (1354429401,), (1354429990,), (1354430097,), (1354430158,), (1354430207,), (1354430262,), (1354430787,), (1354430817,), (1354430848,), (1354430876,), (1354430906,), (1354430962,), (1354431479,), (1354431516,), (1354431560,), (1354431611,), (1354431736,), (1354432205,), (1354432236,), (1354432265,), (1354432309,), (1354432361,), (1354432391,), (1354432747,), (1354432791,), (1354432822,), (1354432847,), (1354432881,), (1354433170,), (1354433196,), (1354433222,), (1354433250,), (1354433279,), (1354433306,), (1354433797,), (1354433839,), (1354433870,), (1354433899,), (1354433932,), (1354434346,), (1354434474,), (1354434528,), (1354434584,), (1354434635,), (1354434689,), (1354434941,), (1354434996,), (1354435049,), (1354435101,), (1354435219,), (1354435224,), (1354435230,), (1354435262,), (1354435293,), (1354435323,), (1354435682,), (1354435763,), (1354435833,), (1354435905,), (1354436179,), (1354436199,), (1354436205,), (1354436210,), (1354436216,), (1354436569,), (1354436496,), (1354436528,), (1354436566,), (1354436596,), (1354436601,), (1354436605,), (1354436622,), (1354436631,), (1354436714,), (1354436749,), (1354436779,), (1354436809,), (1354437060,), (1354437066,), (1354437074,), (1354437158,), (1354437379,), (1354437423,), (1354437501,), (1354437505,), (1354437510,), (1354437513,), (1354437536,), (1354437549,), (1354437576,), (1354437606,), (1354437633,), (1354437661,), (1354437773,), (1354437777,), (1354437791,), (1354437910,), (1354437917,), (1354437921,), (1354437988,), (1354438016,), (1354438026,), (1354438029,), (1354438061,), (1354438069,), (1354438077,), (1354438081,), (1354438082,), (1354438084,), (1354438106,), (1354438110,), (1354438115,), (1354438178,), (1354438181,), (1354438187,), (1354438188,), (1354443026,), (1354442994,), (1354443023,), (1354443064,), (1354443129,), (1354443188,), (1354443346,), (1354443610,), (1354443623,), (1354443628,), (1354443648,), (1354443806,), (1354443801,), (1354443996,), (1354444051,), (1354444064,), (1354444127,), (1354444158,), (1354444202,), (1354444352,), (1354444370,), (1354444502,), (1354444505,), (1354446763,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'29042025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22499161]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] map_info['map_portfolio_photo'] : {22499161: [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466]} final : True mtd_id 4302 list_pids : [1354261048, 1354260631, 1354260611, 1354260596, 1354260544, 1354260514, 1354260078, 1354260074, 1354260070, 1354260067, 1354260044, 1354260039, 1354260024, 1354259996, 1354259942, 1354259725, 1354259178, 1354259052, 1354258951, 1354258837, 1354258085, 1354258063, 1354257782, 1354257750, 1354257246, 1354257112, 1354257083, 1354257053, 1354257024, 1354256992, 1354256456, 1354256428, 1354256388, 1354256336, 1354255850, 1354255814, 1354255466] Looping around the photos to save general results len do output : 1 /22499161Didn'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, '2772232') ('4302', '22499161', '1354261048', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232') ('4302', None, None, None, None, None, None, None, '2772232') ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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, '22499161', 'None', None, None, None, None, '2772232'), ('4302', '22499161', '1354261048', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260631', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260611', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260596', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260544', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260514', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260078', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260074', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260070', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260067', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260044', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260039', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354260024', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259996', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259942', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259725', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259178', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354259052', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258951', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258837', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258085', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354258063', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257782', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257750', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257246', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257112', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257083', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257053', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354257024', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256992', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256456', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256428', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256388', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354256336', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255850', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255814', None, None, None, None, None, '2772232'), ('4302', '22499161', '1354255466', None, None, None, None, None, '2772232')] time used for this insertion : 0.018377065658569336 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6639580726623535 time spend to save output : 0.018759489059448242 total time spend for step 5 : 3.6827175617218018 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 (2772232) 3.19user 2.69system 0:16.08elapsed 36%CPU (0avgtext+0avgdata 163672maxresident)k 352inputs+29456outputs (2major+78293minor)pagefaults 0swaps