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 : 532029 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 (2641393) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2641393) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054980 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2641393'] with mtr_portfolio_ids : ['21054980'] and first list_photo_ids : [] new path : /proc/532029/ Name: python3 Umask: 0002 State: R (running) Tgid: 532029 Ngid: 0 Pid: 532029 PPid: 532021 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 532029 NSpid: 532029 NSpgid: 531167 NSsid: 531167 VmPeak: 1106844 kB VmSize: 1106844 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97436 kB VmRSS: 97436 kB RssAnon: 59808 kB RssFile: 37628 kB RssShmem: 0 kB VmData: 865592 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 564 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 3/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 94 nonvoluntary_ctxt_switches: 148 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '532029', 'Ngid': '0', 'Pid': '532029', 'PPid': '532021', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '532029', 'NSpid': '532029', 'NSpgid': '531167', 'NSsid': '531167', 'VmPeak': '1106844 kB', 'VmSize': '1106844 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97436 kB', 'VmRSS': '97436 kB', 'RssAnon': '59808 kB', 'RssFile': '37628 kB', 'RssShmem': '0 kB', 'VmData': '865592 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '564 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '3/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '94', 'nonvoluntary_ctxt_switches': '148'} ('datou_batch_current', '532029', '1106844', '0', '1106844', '865592', '97436', b'', 'marlene', '2641393') 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 (21054980) 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 (2641393 ) ) 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 (21054980) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1340978337, 'portfolio_id': 21054980}, {'photo_id': 1340978028, 'portfolio_id': 21054980}, {'photo_id': 1340978026, 'portfolio_id': 21054980}, {'photo_id': 1340978019, 'portfolio_id': 21054980}, {'photo_id': 1340977950, 'portfolio_id': 21054980}, {'photo_id': 1340977942, 'portfolio_id': 21054980}, {'photo_id': 1340977938, 'portfolio_id': 21054980}, {'photo_id': 1340977931, 'portfolio_id': 21054980}, {'photo_id': 1340977893, 'portfolio_id': 21054980}, {'photo_id': 1340977882, 'portfolio_id': 21054980}, {'photo_id': 1340977871, 'portfolio_id': 21054980}, {'photo_id': 1340977867, 'portfolio_id': 21054980}, {'photo_id': 1340977849, 'portfolio_id': 21054980}, {'photo_id': 1340977841, 'portfolio_id': 21054980}, {'photo_id': 1340977833, 'portfolio_id': 21054980}, {'photo_id': 1340977826, 'portfolio_id': 21054980}, {'photo_id': 1340977822, 'portfolio_id': 21054980}, {'photo_id': 1340977811, 'portfolio_id': 21054980}, {'photo_id': 1340977778, 'portfolio_id': 21054980}, {'photo_id': 1340977774, 'portfolio_id': 21054980}, {'photo_id': 1340977756, 'portfolio_id': 21054980}, {'photo_id': 1340977752, 'portfolio_id': 21054980}, {'photo_id': 1340977747, 'portfolio_id': 21054980}, {'photo_id': 1340977743, 'portfolio_id': 21054980}, {'photo_id': 1340977739, 'portfolio_id': 21054980}, {'photo_id': 1340977734, 'portfolio_id': 21054980}, {'photo_id': 1340977693, 'portfolio_id': 21054980}, {'photo_id': 1340977657, 'portfolio_id': 21054980}, {'photo_id': 1340977649, 'portfolio_id': 21054980}, {'photo_id': 1340977644, 'portfolio_id': 21054980}, {'photo_id': 1340977635, 'portfolio_id': 21054980}, {'photo_id': 1340977491, 'portfolio_id': 21054980}, {'photo_id': 1340977489, 'portfolio_id': 21054980}, {'photo_id': 1340977484, 'portfolio_id': 21054980}, {'photo_id': 1340977472, 'portfolio_id': 21054980}, {'photo_id': 1340977447, 'portfolio_id': 21054980}, {'photo_id': 1340977425, 'portfolio_id': 21054980}, {'photo_id': 1340977170, 'portfolio_id': 21054980}, {'photo_id': 1340976452, 'portfolio_id': 21054980}, {'photo_id': 1340976427, 'portfolio_id': 21054980}, {'photo_id': 1340976417, 'portfolio_id': 21054980}, {'photo_id': 1340976284, 'portfolio_id': 21054980}, {'photo_id': 1340976277, 'portfolio_id': 21054980}, {'photo_id': 1340976257, 'portfolio_id': 21054980}] map_portfolio_id_photo_id: {21054980: [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257]} ##### 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.700084924697876 #### 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 Thu Mar 6 05:55:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21054980) 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 : 21054980 get user id for portfolio 21054980 get sub ptf for main ptf 21054980, type 3726 and hashtags ['Carton_gris', 'mal_croppe', 'autre_refus', 'Carton_brun', 'papier', 'Teint_Dans_La_Masse', 'metal', 'kraft', 'environnement', 'plastique', 'cartonnette', 'flou'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21054980 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','autre_refus','Carton_brun','papier','Teint_Dans_La_Masse','metal','kraft','environnement','plastique','cartonnette','flou')) 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`=21054980 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','autre_refus','Carton_brun','papier','Teint_Dans_La_Masse','metal','kraft','environnement','plastique','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21054980, 'sub_port_id': 21054985, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667324, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'autre_refus': {'main_port_id': 21054980, 'sub_port_id': 21054986, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667325, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'mal_croppe': {'main_port_id': 21054980, 'sub_port_id': 21054987, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667326, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'Carton_gris': {'main_port_id': 21054980, 'sub_port_id': 21054988, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667327, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 21054980, 'sub_port_id': 21054989, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667328, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'kraft': {'main_port_id': 21054980, 'sub_port_id': 21054990, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667329, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'papier': {'main_port_id': 21054980, 'sub_port_id': 21054991, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667330, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'environnement': {'main_port_id': 21054980, 'sub_port_id': 21054992, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667331, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'flou': {'main_port_id': 21054980, 'sub_port_id': 21054993, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667332, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'metal': {'main_port_id': 21054980, 'sub_port_id': 21054994, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667333, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'cartonnette': {'main_port_id': 21054980, 'sub_port_id': 21054995, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667334, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}, 'plastique': {'main_port_id': 21054980, 'sub_port_id': 21054996, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667335, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21054985 , 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=21054980 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 (21054985) result : ((1340977894,), (1340979750,), (1340983462,), (1340983557,), (1340983558,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054986 , 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=21054980 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 (21054986) result : ((1340977727,), (1340977873,), (1340977874,), (1340977875,), (1340977876,), (1340977877,), (1340977878,), (1340977879,), (1340978044,), (1340978045,), (1340978046,), (1340978047,), (1340978048,), (1340978049,), (1340978577,), (1340978578,), (1340978580,), (1340978581,), (1340979253,), (1340979636,), (1340979637,), (1340979640,), (1340979641,), (1340979642,), (1340979643,), (1340979729,), (1340979730,), (1340979731,), (1340979732,), (1340979733,), (1340979734,), (1340979735,), (1340979736,), (1340979737,), (1340979738,), (1340979739,), (1340980655,), (1340980656,), (1340983459,), (1340983549,), (1340983550,), (1340983551,), (1340983552,), (1340983553,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054987 , 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=21054980 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 (21054987) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054988 , 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=21054980 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 (21054988) result : ((1340977884,), (1340977885,), (1340977886,), (1340977891,), (1340978050,), (1340979741,), (1340979742,), (1340979743,), (1340979744,), (1340983461,), (1340983554,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054989 , 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=21054980 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 (21054989) result : ((1340977725,), (1340978041,), (1340978042,), (1340978529,), (1340978530,), (1340978531,), (1340978532,), (1340979632,), (1340979633,), (1340979634,), (1340979725,), (1340980654,), (1340983538,), (1340983539,), (1340983540,), (1340983541,), (1340983542,), (1340983543,), (1340983545,), (1340983546,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054990 , 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=21054980 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 (21054990) result : ((1340977729,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054991 , 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=21054980 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 (21054991) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054992 , 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=21054980 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 (21054992) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054993 , 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=21054980 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 (21054993) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054994 , 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=21054980 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 (21054994) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054995 , 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=21054980 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 (21054995) result : ((1340978053,), (1340978619,), (1340979746,), (1340979747,), (1340979748,), (1340983555,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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 21054996 , 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=21054980 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 (21054996) result : ((1340978054,), (1340979751,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21054980) result : ((1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,)) 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`=21054980 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','autre_refus','Carton_brun','papier','Teint_Dans_La_Masse','metal','kraft','environnement','plastique','cartonnette','flou')) 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`=21054980 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','mal_croppe','autre_refus','Carton_brun','papier','Teint_Dans_La_Masse','metal','kraft','environnement','plastique','cartonnette','flou')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 21054980, 'sub_port_id': 21054997, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667336, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'autre_refus': {'main_port_id': 21054980, 'sub_port_id': 21054998, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667337, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'mal_croppe': {'main_port_id': 21054980, 'sub_port_id': 21054999, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667338, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'Carton_gris': {'main_port_id': 21054980, 'sub_port_id': 21055000, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667339, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 21054980, 'sub_port_id': 21055001, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667340, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'kraft': {'main_port_id': 21054980, 'sub_port_id': 21055002, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667341, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'papier': {'main_port_id': 21054980, 'sub_port_id': 21055003, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667342, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'environnement': {'main_port_id': 21054980, 'sub_port_id': 21055004, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667343, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'flou': {'main_port_id': 21054980, 'sub_port_id': 21055005, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667344, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'metal': {'main_port_id': 21054980, 'sub_port_id': 21055006, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667345, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'cartonnette': {'main_port_id': 21054980, 'sub_port_id': 21055007, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667346, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 38, 59), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}, 'plastique': {'main_port_id': 21054980, 'sub_port_id': 21055008, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13667347, 'last_updated_at': datetime.datetime(2025, 3, 5, 9, 50, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 5, 9, 50, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 5, 9, 38, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21054997,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054985 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21054998,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054986 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21054999,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054987 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055000,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054988 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055001,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054989 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055002,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054990 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055003,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054991 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055004,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054992 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055005,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054993 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055006,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054994 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055007,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054995 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21055008,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21054996 lien utilise dans velours : https://www.fotonower.com/velours/21054997,21054998,21054999,21055000,21055001,21055002,21055003,21055004,21055005,21055006,21055007,21055008?tags=Carton_brun,autre_refus,mal_croppe,Carton_gris,Teint_Dans_La_Masse,kraft,papier,environnement,flou,metal,cartonnette,plastique After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21054980]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] map_info['map_portfolio_photo'] : {21054980: [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257]} final : False mtd_id 4302 list_pids : [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] Looping around the photos to save general results len do output : 1 /21054980. 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, '2641393') ('4302', '21054980', '1340978337', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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, '21054980', "{'Carton_brun': 21054985, 'autre_refus': 21054986, 'mal_croppe': 21054987, 'Carton_gris': 21054988, 'Teint_Dans_La_Masse': 21054989, 'kraft': 21054990, 'papier': 21054991, 'environnement': 21054992, 'flou': 21054993, 'metal': 21054994, 'cartonnette': 21054995, 'plastique': 21054996}", None, None, None, None, '2641393'), ('4302', '21054980', '1340978337', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393')] time used for this insertion : 0.5870871543884277 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7337777614593506 time spend to save output : 0.5875082015991211 total time spend for step 1 : 2.3212859630584717 step2:final Thu Mar 6 05:55:31 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21054980) 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 21054980 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1340976284,1340976277,1340976257,1340976452,1340976427,1340976417,1340977170,1340977491,1340977489,1340977484,1340977472,1340977447,1340977425,1340977693,1340977657,1340977649,1340977644,1340977635,1340977756,1340977752,1340977747,1340977743,1340977739,1340977734,1340977778,1340977774,1340977849,1340977841,1340977833,1340977826,1340977822,1340977811,1340977893,1340977882,1340977871,1340977867,1340977950,1340977942,1340977938,1340977931,1340978028,1340978026,1340978019,1340978337); 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([21054980]) Inside saveOutput : final : False verbose : True original output for save of step final : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} new output for save of step final : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] map_info['map_portfolio_photo'] : {21054980: [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257]} final : False mtd_id 4302 list_pids : [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] Looping around the photos to save general results len do output : 44 /1340978337.Didn't retrieve data . /1340978028.Didn't retrieve data . /1340978026.Didn't retrieve data . /1340978019.Didn't retrieve data . /1340977950.Didn't retrieve data . /1340977942.Didn't retrieve data . /1340977938.Didn't retrieve data . /1340977931.Didn't retrieve data . /1340977893.Didn't retrieve data . /1340977882.Didn't retrieve data . /1340977871.Didn't retrieve data . /1340977867.Didn't retrieve data . /1340977849.Didn't retrieve data . /1340977841.Didn't retrieve data . /1340977833.Didn't retrieve data . /1340977826.Didn't retrieve data . /1340977822.Didn't retrieve data . /1340977811.Didn't retrieve data . /1340977778.Didn't retrieve data . /1340977774.Didn't retrieve data . /1340977756.Didn't retrieve data . /1340977752.Didn't retrieve data . /1340977747.Didn't retrieve data . /1340977743.Didn't retrieve data . /1340977739.Didn't retrieve data . /1340977734.Didn't retrieve data . /1340977693.Didn't retrieve data . /1340977657.Didn't retrieve data . /1340977649.Didn't retrieve data . /1340977644.Didn't retrieve data . /1340977635.Didn't retrieve data . /1340977491.Didn't retrieve data . /1340977489.Didn't retrieve data . /1340977484.Didn't retrieve data . /1340977472.Didn't retrieve data . /1340977447.Didn't retrieve data . /1340977425.Didn't retrieve data . /1340977170.Didn't retrieve data . /1340976452.Didn't retrieve data . /1340976427.Didn't retrieve data . /1340976417.Didn't retrieve data . /1340976284.Didn't retrieve data . /1340976277.Didn't retrieve data . /1340976257.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, '2641393') ('4302', '21054980', '1340978337', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 132 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', '21054980', '1340978337', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340978028', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340978026', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340978019', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977950', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977942', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977938', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977931', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977893', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977882', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977871', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977867', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977849', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977841', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977833', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977826', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977822', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977811', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977778', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977774', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977756', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977752', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977747', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977743', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977739', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977734', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977693', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977657', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977649', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977644', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977635', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977491', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977489', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977484', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977472', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977447', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977425', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340977170', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340976452', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340976427', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340976417', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340976284', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340976277', '0.06409501554803271', None, None, None, None, '2641393'), ('4302', '21054980', '1340976257', '0.06409501554803271', None, None, None, None, '2641393')] time used for this insertion : 0.018972396850585938 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1618642807006836 time spend to save output : 0.02067255973815918 total time spend for step 2 : 0.18253684043884277 step3:velours_tree Thu Mar 6 05:55:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {21054980: [{'Carton_brun': 21054985, 'autre_refus': 21054986, 'mal_croppe': 21054987, 'Carton_gris': 21054988, 'Teint_Dans_La_Masse': 21054989, 'kraft': 21054990, 'papier': 21054991, 'environnement': 21054992, 'flou': 21054993, 'metal': 21054994, 'cartonnette': 21054995, 'plastique': 21054996}]} input_args_next_step : {21054980: ()} output_args : {21054980: [{'Carton_brun': 21054985, 'autre_refus': 21054986, 'mal_croppe': 21054987, 'Carton_gris': 21054988, 'Teint_Dans_La_Masse': 21054989, 'kraft': 21054990, 'papier': 21054991, 'environnement': 21054992, 'flou': 21054993, 'metal': 21054994, 'cartonnette': 21054995, 'plastique': 21054996}]} args : 21054980 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 21054985, 'autre_refus': 21054986, 'mal_croppe': 21054987, 'Carton_gris': 21054988, 'Teint_Dans_La_Masse': 21054989, 'kraft': 21054990, 'papier': 21054991, 'environnement': 21054992, 'flou': 21054993, 'metal': 21054994, 'cartonnette': 21054995, 'plastique': 21054996},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21054980) 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([21054980]) 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.307506799697876 time spend to save output : 8.249282836914062e-05 total time spend for step 3 : 0.3075892925262451 step4:send_mail_cod Thu Mar 6 05:55:32 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} input_args_next_step : {1340978337: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340978337 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340978028 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340978026 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340978019 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977950 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977942 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977938 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977931 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977893 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977882 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977871 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977867 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977849 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977841 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977833 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977826 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977822 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977811 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977778 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977774 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977756 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977752 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977747 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977743 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977739 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977734 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977693 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977657 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977649 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977644 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977635 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977491 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977489 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977484 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977472 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977447 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977425 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340977170 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340976452 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340976427 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340976417 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340976284 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340976277 depend.output_id : 0 input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ()} output_args : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',)} args : 1340976257 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 : {21054980: [{'Carton_brun': 21054985, 'autre_refus': 21054986, 'mal_croppe': 21054987, 'Carton_gris': 21054988, 'Teint_Dans_La_Masse': 21054989, 'kraft': 21054990, 'papier': 21054991, 'environnement': 21054992, 'flou': 21054993, 'metal': 21054994, 'cartonnette': 21054995, 'plastique': 21054996}]} input_args_next_step : {1340978337: ('0.06409501554803271',), 1340978028: ('0.06409501554803271',), 1340978026: ('0.06409501554803271',), 1340978019: ('0.06409501554803271',), 1340977950: ('0.06409501554803271',), 1340977942: ('0.06409501554803271',), 1340977938: ('0.06409501554803271',), 1340977931: ('0.06409501554803271',), 1340977893: ('0.06409501554803271',), 1340977882: ('0.06409501554803271',), 1340977871: ('0.06409501554803271',), 1340977867: ('0.06409501554803271',), 1340977849: ('0.06409501554803271',), 1340977841: ('0.06409501554803271',), 1340977833: ('0.06409501554803271',), 1340977826: ('0.06409501554803271',), 1340977822: ('0.06409501554803271',), 1340977811: ('0.06409501554803271',), 1340977778: ('0.06409501554803271',), 1340977774: ('0.06409501554803271',), 1340977756: ('0.06409501554803271',), 1340977752: ('0.06409501554803271',), 1340977747: ('0.06409501554803271',), 1340977743: ('0.06409501554803271',), 1340977739: ('0.06409501554803271',), 1340977734: ('0.06409501554803271',), 1340977693: ('0.06409501554803271',), 1340977657: ('0.06409501554803271',), 1340977649: ('0.06409501554803271',), 1340977644: ('0.06409501554803271',), 1340977635: ('0.06409501554803271',), 1340977491: ('0.06409501554803271',), 1340977489: ('0.06409501554803271',), 1340977484: ('0.06409501554803271',), 1340977472: ('0.06409501554803271',), 1340977447: ('0.06409501554803271',), 1340977425: ('0.06409501554803271',), 1340977170: ('0.06409501554803271',), 1340976452: ('0.06409501554803271',), 1340976427: ('0.06409501554803271',), 1340976417: ('0.06409501554803271',), 1340976284: ('0.06409501554803271',), 1340976277: ('0.06409501554803271',), 1340976257: ('0.06409501554803271',), 21054980: ()} output_args : {21054980: [{'Carton_brun': 21054985, 'autre_refus': 21054986, 'mal_croppe': 21054987, 'Carton_gris': 21054988, 'Teint_Dans_La_Masse': 21054989, 'kraft': 21054990, 'papier': 21054991, 'environnement': 21054992, 'flou': 21054993, 'metal': 21054994, 'cartonnette': 21054995, 'plastique': 21054996}]} args : 21054980 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 :45, first value : ('0.06409501554803271',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21054980) 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 (1340978337,1340978028,1340978026,1340978019,1340977950,1340977942,1340977938,1340977931,1340977893,1340977882,1340977871,1340977867,1340977849,1340977841,1340977833,1340977826,1340977822,1340977811,1340977778,1340977774,1340977756,1340977752,1340977747,1340977743,1340977739,1340977734,1340977693,1340977657,1340977649,1340977644,1340977635,1340977491,1340977489,1340977484,1340977472,1340977447,1340977425,1340977170,1340976452,1340976427,1340976417,1340976284,1340976277,1340976257) Found this number of photos: 44 ##### Call download_photos : nb_thread : 5 begin to download photo : 1340976257 begin to download photo : 1340977472 begin to download photo : 1340977734 begin to download photo : 1340977822 begin to download photo : 1340977931 download finish for photo 1340977822 begin to download photo : 1340977826 download finish for photo 1340977472 begin to download photo : 1340977484 download finish for photo 1340977734 begin to download photo : 1340977739 download finish for photo 1340977931 begin to download photo : 1340977938 download finish for photo 1340977826 begin to download photo : 1340977833 download finish for photo 1340977739 begin to download photo : 1340977743 download finish for photo 1340977484 begin to download photo : 1340977489 download finish for photo 1340977938 begin to download photo : 1340977942 download finish for photo 1340977833 begin to download photo : 1340977841 download finish for photo 1340977942 begin to download photo : 1340977950 download finish for photo 1340977489 begin to download photo : 1340977491 download finish for photo 1340977743 begin to download photo : 1340977747 download finish for photo 1340976257 begin to download photo : 1340976277 download finish for photo 1340977841 begin to download photo : 1340977849 download finish for photo 1340977950 begin to download photo : 1340978019 download finish for photo 1340977849 begin to download photo : 1340977867 download finish for photo 1340977747 begin to download photo : 1340977752 download finish for photo 1340976277 begin to download photo : 1340976284 download finish for photo 1340978019 begin to download photo : 1340978026 download finish for photo 1340977752 begin to download photo : 1340977756 download finish for photo 1340977867 begin to download photo : 1340977871 download finish for photo 1340978026 begin to download photo : 1340978028 download finish for photo 1340977756 begin to download photo : 1340977774 download finish for photo 1340977871 begin to download photo : 1340977882 download finish for photo 1340976284 begin to download photo : 1340976417 download finish for photo 1340978028 begin to download photo : 1340978337 download finish for photo 1340977774 begin to download photo : 1340977778 download finish for photo 1340977882 begin to download photo : 1340977893 download finish for photo 1340977491 begin to download photo : 1340977635 download finish for photo 1340976417 begin to download photo : 1340976427 download finish for photo 1340978337 download finish for photo 1340977778 begin to download photo : 1340977811 download finish for photo 1340977893 download finish for photo 1340977635 begin to download photo : 1340977644 download finish for photo 1340976427 begin to download photo : 1340976452 download finish for photo 1340977811 download finish for photo 1340977644 begin to download photo : 1340977649 download finish for photo 1340976452 begin to download photo : 1340977170 download finish for photo 1340977649 begin to download photo : 1340977657 download finish for photo 1340977170 begin to download photo : 1340977425 download finish for photo 1340977657 begin to download photo : 1340977693 download finish for photo 1340977425 begin to download photo : 1340977447 download finish for photo 1340977693 download finish for photo 1340977447 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 : 44 ; length of list_pids : 44 ; length of list_args : 44 results_Auto_P21054980_06-03-2025_05_55_34.pdf 21054986 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=21054986 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340979737: '1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271791_0.png', 1340979642: '1741164614_1979301_1340977871_13159e52c6b7702795cb0ec27f83b921_rle_crop_3694270955_0.png', 1340979643: '1741164614_1979301_1340977867_580f127996fda11591bbce32d3ae8551_rle_crop_3694271543_0.png', 1340979729: '1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271693_0.png', 1340979730: '1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271697_0.png', 1340979731: '1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271710_0.png', 1340979732: '1741164635_1980113_1340977841_83f86e03a45ddd299cad097af714f5e7_rle_crop_3694271714_0.png', 1340979733: '1741164635_1980113_1340977833_590616a1a7e4e2943c37a63466be338b_rle_crop_3694271724_0.png', 1340979734: '1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271744_0.png', 1340979735: '1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271743_0.png', 1340979736: '1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271770_0.png', 1340979641: '1741164614_1979301_1340977871_13159e52c6b7702795cb0ec27f83b921_rle_crop_3694270951_0.png', 1340979738: '1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271795_0.png', 1340979739: '1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271788_0.png', 1340980655: '1741165134_1999874_1340977774_a150e0eccf0e19256bb174bc059a2505_rle_crop_3694276431_0.png', 1340980656: '1741165134_1999874_1340977774_a150e0eccf0e19256bb174bc059a2505_rle_crop_3694276438_0.png', 1340983459: '1741166174_2062893_1340976452_6820ee0247e8b5632dbdf9e4b71d20af_rle_crop_3694290576_0.png', 1340983549: '1741166153_2062293_1340977657_14905959b0e4a277232aff9fb893e8fa_rle_crop_3694258549_0.png', 1340983550: '1741166153_2062293_1340977657_14905959b0e4a277232aff9fb893e8fa_rle_crop_3694258551_0.png', 1340983551: '1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259122_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/33c638c64e483d76feb918f7b8c3fa47_91115590.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/097de7bbf62002fc91b38ecb5c73cfc0_10974533.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/92f090dd81c6de1433dc20df46221c7a_81450205.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/86480fc98c8d314cae0443eb82a32806_72566807.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/ade4dc8484fae2a440cc3a19f4970661_48928934.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/0f177e4b0d7f41f68f014fc1ac701207_68677101.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/7136c6c000470638a3912ee120549650_15639075.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/e31dd1448ef8fd0185c385cbc58dae66_82066545.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/009424f560c10f72d21c8e41267096f4_75031959.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/e710e0aba5430186d650f4bc47fc26af_53212948.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/47d8f270c886512354990427316fce6e_11308517.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d3dffe734f6d0712173f3b6b7eeb099f_19767517.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/df1daf024f6a422994b75a109d9b1af7_36195944.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/de0c1d02d2d9058d2f1e3966d42daec8_41733132.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/e182258bf608b3a0840de01da3bb750a_16341499.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/72a68b0f0c1ec01c579b738d6c784419_69783540.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/3d44a6f4741587889f6bac7959a9ee02_71807727.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1a1306dc915d80b33131001f81022a01_28446652.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/57c0f364b198b98bc110f6d2ad35d987_33489082.png change filename to text .imagette210549861741236934/ imagette210549861741236934/1741165134_1999874_1340977774_a150e0eccf0e19256bb174bc059a2505_rle_crop_3694276438_0.png.png imagette210549861741236934/1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271693_0.png.png imagette210549861741236934/1741166153_2062293_1340977657_14905959b0e4a277232aff9fb893e8fa_rle_crop_3694258551_0.png.png imagette210549861741236934/1741165134_1999874_1340977774_a150e0eccf0e19256bb174bc059a2505_rle_crop_3694276431_0.png.png imagette210549861741236934/1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271744_0.png.png imagette210549861741236934/1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259122_0.png.png imagette210549861741236934/1741166174_2062893_1340976452_6820ee0247e8b5632dbdf9e4b71d20af_rle_crop_3694290576_0.png.png imagette210549861741236934/1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271697_0.png.png imagette210549861741236934/1741164614_1979301_1340977871_13159e52c6b7702795cb0ec27f83b921_rle_crop_3694270951_0.png.png imagette210549861741236934/1741166153_2062293_1340977657_14905959b0e4a277232aff9fb893e8fa_rle_crop_3694258549_0.png.png imagette210549861741236934/1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271770_0.png.png imagette210549861741236934/1741164614_1979301_1340977867_580f127996fda11591bbce32d3ae8551_rle_crop_3694271543_0.png.png imagette210549861741236934/1741164635_1980113_1340977841_83f86e03a45ddd299cad097af714f5e7_rle_crop_3694271714_0.png.png imagette210549861741236934/1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271710_0.png.png imagette210549861741236934/1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271788_0.png.png imagette210549861741236934/1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271743_0.png.png imagette210549861741236934/1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271795_0.png.png imagette210549861741236934/1741164635_1980113_1340977833_590616a1a7e4e2943c37a63466be338b_rle_crop_3694271724_0.png.png imagette210549861741236934/1741164614_1979301_1340977871_13159e52c6b7702795cb0ec27f83b921_rle_crop_3694270955_0.png.png imagette210549861741236934/1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271791_0.png.png imagette210549871741236936/ wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/caa5c5e24622fd8011fe7750da3982e3_70560795.png imagette210549861741236934 21054987 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=21054987 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210549871741236936 21054990 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=21054990 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340977729: '1741163814_1950497_1340976427_901db1e86b158b97577d7a73a3cca64c_rle_crop_3694257537_0.png'} change filename to text .imagette210549901741236936/ imagette210549901741236936/1741163814_1950497_1340976427_901db1e86b158b97577d7a73a3cca64c_rle_crop_3694257537_0.png.png imagette210549931741236936/ imagette210549941741236936/ wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/ec2bbe55b4b8ca95dcd8fb4a04b95fcf_48586159.png imagette210549901741236936 21054993 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=21054993 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210549931741236936 21054994 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=21054994 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette210549941741236936 21054995 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=21054995 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340978053: '1741164052_1953001_1340977752_0feec531151f96113d9dc588082e4da7_rle_crop_3694260490_0.png', 1340978619: '1741164473_1969943_1340977931_dd28d600dead3cccf3c0caf44fd88528_rle_crop_3694269053_0.png', 1340979746: '1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271701_0.png', 1340979747: '1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271706_0.png', 1340979748: '1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271766_0.png', 1340983555: '1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259119_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/dc34b809179df277e70b2ca094bf9f62_30486168.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/6771c8d1626ce4cffffef7dd3a4f4ffc_44361064.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/4d44cd8f45c9bcc00bc29ca4a56a73dc_2164937.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/a3b9945647a71bf98af07ec7c0d15715_85199665.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/671c6d2b5705b0eaab732a9124f1c279_591437.png change filename to text .imagette210549951741236936/ imagette210549951741236936/1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271766_0.png.png imagette210549951741236936/1741164052_1953001_1340977752_0feec531151f96113d9dc588082e4da7_rle_crop_3694260490_0.png.png imagette210549951741236936/1741164473_1969943_1340977931_dd28d600dead3cccf3c0caf44fd88528_rle_crop_3694269053_0.png.png imagette210549951741236936/1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259119_0.png.png imagette210549951741236936/1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271701_0.png.png imagette210549951741236936/1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271706_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/4232b49db1bf596f8bb0ce609e14b4a9_56915035.png imagette210549951741236936 21054996 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=21054996 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340978054: '1741164052_1953001_1340977778_97446e24cd03a43158d3f9438e855d8e_rle_crop_3694259685_0.png', 1340979751: '1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271769_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/0091e5932dd4ab7008c8fb294c0d12ec_16110104.png change filename to text .imagette210549961741236937/ imagette210549961741236937/1741164052_1953001_1340977778_97446e24cd03a43158d3f9438e855d8e_rle_crop_3694259685_0.png.png imagette210549961741236937/1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271769_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/471a254686f7e3882bb0336dd1039cc5_68861318.png imagette210549961741236937 21054985 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=21054985 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340977894: '1741163953_1951818_1340977489_85061d85f1d2260b89603dc7a6f2da18_rle_crop_3694259148_0.png', 1340979750: '1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271790_0.png', 1340983462: '1741166174_2062893_1340976452_6820ee0247e8b5632dbdf9e4b71d20af_rle_crop_3694290569_0.png', 1340983557: '1741166153_2062293_1340977756_9120142c1a7870a203cde4a2b873f8bf_rle_crop_3694290501_0.png', 1340983558: '1741166153_2062293_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb_rle_crop_3694259320_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/e74f8abed87fef25ca55973206b01cb7_87249037.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/46610836fd0d315dc6978bc2f0b2bcde_65639791.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/c098f040e80a126a70788c0be47d37d9_39025512.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/42536b9d2437c61a7098d20877cccd2f_12148822.png change filename to text .imagette210549851741236937/ imagette210549851741236937/1741163953_1951818_1340977489_85061d85f1d2260b89603dc7a6f2da18_rle_crop_3694259148_0.png.png imagette210549851741236937/1741166174_2062893_1340976452_6820ee0247e8b5632dbdf9e4b71d20af_rle_crop_3694290569_0.png.png imagette210549851741236937/1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271790_0.png.png imagette210549851741236937/1741166153_2062293_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb_rle_crop_3694259320_0.png.png imagette210549851741236937/1741166153_2062293_1340977756_9120142c1a7870a203cde4a2b873f8bf_rle_crop_3694290501_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/04cf9c3674c47954dfd7a5668207739b_16376206.png imagette210549851741236937 21054988 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=21054988 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340977884: '1741163953_1951818_1340977472_7fc94d5fbdc84566f975f0d03b841558_rle_crop_3694259196_0.png', 1340977885: '1741163953_1951818_1340977447_9fd8d2d8b0b1f1047617eadd4804badd_rle_crop_3694259207_0.png', 1340977886: '1741163953_1951818_1340977425_b9190d02a345981b1f27dfbef20612f3_rle_crop_3694259339_0.png', 1340977891: '1741163953_1951818_1340977425_b9190d02a345981b1f27dfbef20612f3_rle_crop_3694259340_0.png', 1340978050: '1741164052_1953001_1340977739_3989ceb60ed1e0e75309248886a71f83_rle_crop_3694260646_0.png', 1340979741: '1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271703_0.png', 1340979742: '1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271745_0.png', 1340979743: '1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271741_0.png', 1340979744: '1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271785_0.png', 1340983461: '1741166174_2062893_1340976452_6820ee0247e8b5632dbdf9e4b71d20af_rle_crop_3694290575_0.png', 1340983554: '1741166153_2062293_1340977657_14905959b0e4a277232aff9fb893e8fa_rle_crop_3694258546_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/0f3bb76262c5b44d69e9921ca07d90f3_24728484.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/99f0758a0b9c533d0c3a0ac183c3fcc3_29672245.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/c908fa71fabbacb14df70c1f8df524e1_93455269.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/2e8fa80425f81dec2bfadf1ed9407b31_77013637.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/f69f1726a05bd90d5abb5f5ada58a6d7_84337802.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/9fa4eff9c0e05f62cfad0ede2fe21af2_64930197.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/8f9e2c2c6ed26d0a026842970cc2669b_30495083.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/3d52b43cdb4ff1b966a43b4ed5d52899_2166243.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/0e9e5892215b0fa381407b497dafd44b_86597224.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/e962c8ffe67eb748fee0c4104d1d9747_96507181.png change filename to text .imagette210549881741236938/ imagette210549881741236938/1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271741_0.png.png imagette210549881741236938/1741164052_1953001_1340977739_3989ceb60ed1e0e75309248886a71f83_rle_crop_3694260646_0.png.png imagette210549881741236938/1741166174_2062893_1340976452_6820ee0247e8b5632dbdf9e4b71d20af_rle_crop_3694290575_0.png.png imagette210549881741236938/1741163953_1951818_1340977447_9fd8d2d8b0b1f1047617eadd4804badd_rle_crop_3694259207_0.png.png imagette210549881741236938/1741164635_1980113_1340977826_c1fced673a5fa51b20618ce5abad71d5_rle_crop_3694271745_0.png.png imagette210549881741236938/1741163953_1951818_1340977425_b9190d02a345981b1f27dfbef20612f3_rle_crop_3694259339_0.png.png imagette210549881741236938/1741164635_1980113_1340977893_199a16e3c753b0a551571d9df39d3ed0_rle_crop_3694271703_0.png.png imagette210549881741236938/1741163953_1951818_1340977425_b9190d02a345981b1f27dfbef20612f3_rle_crop_3694259340_0.png.png imagette210549881741236938/1741166153_2062293_1340977657_14905959b0e4a277232aff9fb893e8fa_rle_crop_3694258546_0.png.png imagette210549881741236938/1741164635_1980113_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd_rle_crop_3694271785_0.png.png imagette210549881741236938/1741163953_1951818_1340977472_7fc94d5fbdc84566f975f0d03b841558_rle_crop_3694259196_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/8f5679cfadf17b8838ced9d44debb4bb_59401080.png imagette210549881741236938 21054989 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=21054989 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1340979725: '1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271773_0.png', 1340983546: '1741166153_2062293_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb_rle_crop_3694259324_0.png', 1340983545: '1741166153_2062293_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb_rle_crop_3694259325_0.png', 1340983543: '1741166153_2062293_1340977644_8d019ac2a5d1f9503635a7b1119c4c63_rle_crop_3694290554_0.png', 1340983542: '1741166153_2062293_1340977644_8d019ac2a5d1f9503635a7b1119c4c63_rle_crop_3694259162_0.png', 1340983541: '1741166153_2062293_1340977644_8d019ac2a5d1f9503635a7b1119c4c63_rle_crop_3694259166_0.png', 1340983540: '1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259125_0.png', 1340983539: '1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259132_0.png', 1340983538: '1741166153_2062293_1340977756_9120142c1a7870a203cde4a2b873f8bf_rle_crop_3694290504_0.png', 1340980654: '1741165134_1999874_1340977774_a150e0eccf0e19256bb174bc059a2505_rle_crop_3694276433_0.png', 1340977725: '1741163814_1950497_1340976427_901db1e86b158b97577d7a73a3cca64c_rle_crop_3694257545_0.png', 1340979634: '1741164614_1979301_1340977867_580f127996fda11591bbce32d3ae8551_rle_crop_3694271540_0.png', 1340979633: '1741164614_1979301_1340977882_00b94b04bbad87df81ee1934b760f74c_rle_crop_3694270767_0.png', 1340979632: '1741164614_1979301_1340977950_88f23f12c4fe9d303d5f8bf2a46e1b77_rle_crop_3694270740_0.png', 1340978532: '1741164473_1969943_1340977931_dd28d600dead3cccf3c0caf44fd88528_rle_crop_3694269052_0.png', 1340978531: '1741164473_1969943_1340977938_e969ee3dff65872e1d3237336f86fbb6_rle_crop_3694269039_0.png', 1340978530: '1741164473_1969943_1340977938_e969ee3dff65872e1d3237336f86fbb6_rle_crop_3694269042_0.png', 1340978529: '1741164473_1969943_1340977942_e98d7b51fdf00ba2e231acfbed88cad7_rle_crop_3694269030_0.png', 1340978042: '1741164052_1953001_1340977747_7f88c02348a0065109d9682de54b5dc9_rle_crop_3694260547_0.png', 1340978041: '1741164052_1953001_1340977752_0feec531151f96113d9dc588082e4da7_rle_crop_3694260494_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/3e24fc40edf896a3312f30f5895c7dbd_67731211.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/8c28a8f3dbbf81996c3c5088ece4a858_17866406.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/790bd98cc6059ae4955c0c89f5812520_32988380.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/17dd33d2e14967eae644b980cdef095f_61876893.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d8b162804031da89816eec1378dc11d2_77801688.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/646d58b9b2828982a6d079ee9f4f828b_83437939.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d9918b50e4ceea32817fbfbf58935d8c_6264782.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/67d9befcfe1d47f4f77565bcd4a982e3_12347747.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/4899754161508933f78f314743b9e36f_82736074.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/d6c34ce575257f0cbddb9b6f79e42f90_80157686.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/9e9454b2321dc0b085d751b786808a65_91610977.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/14d73387a26c4d67546590a2ccda3325_44958807.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/6f19ffccc23451e805615b78e064915f_38503412.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/26120c770c2af2f9f76bf82331db07ed_61530753.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/bb3250a7c5ff5db4c4926bf672d1d4ea_13311776.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/49cb5714a7208f8487162997323b3700_61256583.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/18363de61c7883d6d5f5019008e92e3d_86178957.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/0e12a362a6ee9f78e5b1cca032da4c31_43147907.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/5eb712094c511b192a393a2e6a2b7715_9921508.png change filename to text .imagette210549891741236939/ imagette210549891741236939/1741164473_1969943_1340977938_e969ee3dff65872e1d3237336f86fbb6_rle_crop_3694269042_0.png.png imagette210549891741236939/1741164635_1980113_1340977822_7171e11937a6963cfda62d58bf430066_rle_crop_3694271773_0.png.png imagette210549891741236939/1741164052_1953001_1340977752_0feec531151f96113d9dc588082e4da7_rle_crop_3694260494_0.png.png imagette210549891741236939/1741166153_2062293_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb_rle_crop_3694259324_0.png.png imagette210549891741236939/1741164614_1979301_1340977882_00b94b04bbad87df81ee1934b760f74c_rle_crop_3694270767_0.png.png imagette210549891741236939/1741166153_2062293_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb_rle_crop_3694259325_0.png.png imagette210549891741236939/1741166153_2062293_1340977644_8d019ac2a5d1f9503635a7b1119c4c63_rle_crop_3694259166_0.png.png imagette210549891741236939/1741164052_1953001_1340977747_7f88c02348a0065109d9682de54b5dc9_rle_crop_3694260547_0.png.png imagette210549891741236939/1741164473_1969943_1340977942_e98d7b51fdf00ba2e231acfbed88cad7_rle_crop_3694269030_0.png.png imagette210549891741236939/1741164614_1979301_1340977867_580f127996fda11591bbce32d3ae8551_rle_crop_3694271540_0.png.png imagette210549891741236939/1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259125_0.png.png imagette210549891741236939/1741163814_1950497_1340976427_901db1e86b158b97577d7a73a3cca64c_rle_crop_3694257545_0.png.png imagette210549891741236939/1741166153_2062293_1340977644_8d019ac2a5d1f9503635a7b1119c4c63_rle_crop_3694290554_0.png.png imagette210549891741236939/1741164614_1979301_1340977950_88f23f12c4fe9d303d5f8bf2a46e1b77_rle_crop_3694270740_0.png.png imagette210549891741236939/1741165134_1999874_1340977774_a150e0eccf0e19256bb174bc059a2505_rle_crop_3694276433_0.png.png imagette210549891741236939/1741164473_1969943_1340977931_dd28d600dead3cccf3c0caf44fd88528_rle_crop_3694269052_0.png.png imagette210549891741236939/1741164473_1969943_1340977938_e969ee3dff65872e1d3237336f86fbb6_rle_crop_3694269039_0.png.png imagette210549891741236939/1741166153_2062293_1340977756_9120142c1a7870a203cde4a2b873f8bf_rle_crop_3694290504_0.png.png imagette210549891741236939/1741166153_2062293_1340977644_8d019ac2a5d1f9503635a7b1119c4c63_rle_crop_3694259162_0.png.png imagette210549891741236939/1741166153_2062293_1340977649_4d258b19882202f0b199791012b80051_rle_crop_3694259132_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/782eb88f256926cbb773010fa566a207_26816232.png imagette210549891741236939 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21054980 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21054997,21054998,21054999,21055000,21055001,21055002,21055003,21055004,21055005,21055006,21055007,21055008?tags=Carton_brun,autre_refus,mal_croppe,Carton_gris,Teint_Dans_La_Masse,kraft,papier,environnement,flou,metal,cartonnette,plastique your option no_mail is active, we will not send the real mail to your client args[1340978337] : ('0.06409501554803271',) no score found for photo 1340978337 We are sending mail with results at report@fotonower.com args[1340978028] : ('0.06409501554803271',) no score found for photo 1340978028 We are sending mail with results at report@fotonower.com args[1340978026] : ('0.06409501554803271',) no score found for photo 1340978026 We are sending mail with results at report@fotonower.com args[1340978019] : ('0.06409501554803271',) no score found for photo 1340978019 We are sending mail with results at report@fotonower.com args[1340977950] : ('0.06409501554803271',) no score found for photo 1340977950 We are sending mail with results at report@fotonower.com args[1340977942] : ('0.06409501554803271',) no score found for photo 1340977942 We are sending mail with results at report@fotonower.com args[1340977938] : ('0.06409501554803271',) no score found for photo 1340977938 We are sending mail with results at report@fotonower.com args[1340977931] : ('0.06409501554803271',) no score found for photo 1340977931 We are sending mail with results at report@fotonower.com args[1340977893] : ('0.06409501554803271',) no score found for photo 1340977893 We are sending mail with results at report@fotonower.com args[1340977882] : ('0.06409501554803271',) no score found for photo 1340977882 We are sending mail with results at report@fotonower.com args[1340977871] : ('0.06409501554803271',) no score found for photo 1340977871 We are sending mail with results at report@fotonower.com args[1340977867] : ('0.06409501554803271',) no score found for photo 1340977867 We are sending mail with results at report@fotonower.com args[1340977849] : ('0.06409501554803271',) no score found for photo 1340977849 We are sending mail with results at report@fotonower.com args[1340977841] : ('0.06409501554803271',) no score found for photo 1340977841 We are sending mail with results at report@fotonower.com args[1340977833] : ('0.06409501554803271',) no score found for photo 1340977833 We are sending mail with results at report@fotonower.com args[1340977826] : ('0.06409501554803271',) no score found for photo 1340977826 We are sending mail with results at report@fotonower.com args[1340977822] : ('0.06409501554803271',) no score found for photo 1340977822 We are sending mail with results at report@fotonower.com args[1340977811] : ('0.06409501554803271',) no score found for photo 1340977811 We are sending mail with results at report@fotonower.com args[1340977778] : ('0.06409501554803271',) no score found for photo 1340977778 We are sending mail with results at report@fotonower.com args[1340977774] : ('0.06409501554803271',) no score found for photo 1340977774 We are sending mail with results at report@fotonower.com args[1340977756] : ('0.06409501554803271',) no score found for photo 1340977756 We are sending mail with results at report@fotonower.com args[1340977752] : ('0.06409501554803271',) no score found for photo 1340977752 We are sending mail with results at report@fotonower.com args[1340977747] : ('0.06409501554803271',) no score found for photo 1340977747 We are sending mail with results at report@fotonower.com args[1340977743] : ('0.06409501554803271',) no score found for photo 1340977743 We are sending mail with results at report@fotonower.com args[1340977739] : ('0.06409501554803271',) no score found for photo 1340977739 We are sending mail with results at report@fotonower.com args[1340977734] : ('0.06409501554803271',) no score found for photo 1340977734 We are sending mail with results at report@fotonower.com args[1340977693] : ('0.06409501554803271',) no score found for photo 1340977693 We are sending mail with results at report@fotonower.com args[1340977657] : ('0.06409501554803271',) no score found for photo 1340977657 We are sending mail with results at report@fotonower.com args[1340977649] : ('0.06409501554803271',) no score found for photo 1340977649 We are sending mail with results at report@fotonower.com args[1340977644] : ('0.06409501554803271',) no score found for photo 1340977644 We are sending mail with results at report@fotonower.com args[1340977635] : ('0.06409501554803271',) no score found for photo 1340977635 We are sending mail with results at report@fotonower.com args[1340977491] : ('0.06409501554803271',) no score found for photo 1340977491 We are sending mail with results at report@fotonower.com args[1340977489] : ('0.06409501554803271',) no score found for photo 1340977489 We are sending mail with results at report@fotonower.com args[1340977484] : ('0.06409501554803271',) no score found for photo 1340977484 We are sending mail with results at report@fotonower.com args[1340977472] : ('0.06409501554803271',) no score found for photo 1340977472 We are sending mail with results at report@fotonower.com args[1340977447] : ('0.06409501554803271',) no score found for photo 1340977447 We are sending mail with results at report@fotonower.com args[1340977425] : ('0.06409501554803271',) no score found for photo 1340977425 We are sending mail with results at report@fotonower.com args[1340977170] : ('0.06409501554803271',) no score found for photo 1340977170 We are sending mail with results at report@fotonower.com args[1340976452] : ('0.06409501554803271',) no score found for photo 1340976452 We are sending mail with results at report@fotonower.com args[1340976427] : ('0.06409501554803271',) no score found for photo 1340976427 We are sending mail with results at report@fotonower.com args[1340976417] : ('0.06409501554803271',) no score found for photo 1340976417 We are sending mail with results at report@fotonower.com args[1340976284] : ('0.06409501554803271',) no score found for photo 1340976284 We are sending mail with results at report@fotonower.com args[1340976277] : ('0.06409501554803271',) no score found for photo 1340976277 We are sending mail with results at report@fotonower.com args[1340976257] : ('0.06409501554803271',) no score found for photo 1340976257 We are sending mail with results at report@fotonower.com refus_total : 0.06409501554803271 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=21054980 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_P21054980_06-03-2025_05_55_34.pdf results_Auto_P21054980_06-03-2025_05_55_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_06-03-2025_05_55_34.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','21054980','results_Auto_P21054980_06-03-2025_05_55_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_06-03-2025_05_55_34.pdf','pdf','','0.55','0.06409501554803271') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21054980]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] map_info['map_portfolio_photo'] : {21054980: [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257]} final : False mtd_id 4302 list_pids : [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] 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, '2641393') ('4302', '21054980', '1340978337', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 44 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', '21054980', '1340978337', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393')] time used for this insertion : 0.02110600471496582 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.393804550170898 time spend to save output : 0.021633386611938477 total time spend for step 4 : 11.415437936782837 step5:split_time_score Thu Mar 6 05:55:43 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 : ['21054980'] 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 : [('21054980',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21054980) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1340977931: {'path': 'temp/1741236932_532029_1340977931_dd28d600dead3cccf3c0caf44fd88528.jpg', 'extension': 'jpg'}, 1340977938: {'path': 'temp/1741236932_532029_1340977938_e969ee3dff65872e1d3237336f86fbb6.jpg', 'extension': 'jpg'}, 1340977942: {'path': 'temp/1741236932_532029_1340977942_e98d7b51fdf00ba2e231acfbed88cad7.jpg', 'extension': 'jpg'}, 1340977950: {'path': 'temp/1741236932_532029_1340977950_88f23f12c4fe9d303d5f8bf2a46e1b77.jpg', 'extension': 'jpg'}, 1340978019: {'path': 'temp/1741236932_532029_1340978019_f1238d683561f6a9a10772016d16e3b1.jpg', 'extension': 'jpg'}, 1340978026: {'path': 'temp/1741236932_532029_1340978026_f3c8b447ed2a90e3c5f532d6ae982909.jpg', 'extension': 'jpg'}, 1340978028: {'path': 'temp/1741236932_532029_1340978028_045d7b7de00998809d9bf14edfa35543.jpg', 'extension': 'jpg'}, 1340978337: {'path': 'temp/1741236932_532029_1340978337_043c25bd2993ada4932696a0937ba0aa.jpg', 'extension': 'jpg'}, 1340977822: {'path': 'temp/1741236932_532029_1340977822_7171e11937a6963cfda62d58bf430066.jpg', 'extension': 'jpg'}, 1340977826: {'path': 'temp/1741236932_532029_1340977826_c1fced673a5fa51b20618ce5abad71d5.jpg', 'extension': 'jpg'}, 1340977833: {'path': 'temp/1741236932_532029_1340977833_590616a1a7e4e2943c37a63466be338b.jpg', 'extension': 'jpg'}, 1340977841: {'path': 'temp/1741236932_532029_1340977841_83f86e03a45ddd299cad097af714f5e7.jpg', 'extension': 'jpg'}, 1340977849: {'path': 'temp/1741236932_532029_1340977849_0a03b64a832130329c27ac291a1f326b.jpg', 'extension': 'jpg'}, 1340977867: {'path': 'temp/1741236932_532029_1340977867_580f127996fda11591bbce32d3ae8551.jpg', 'extension': 'jpg'}, 1340977871: {'path': 'temp/1741236932_532029_1340977871_13159e52c6b7702795cb0ec27f83b921.jpg', 'extension': 'jpg'}, 1340977882: {'path': 'temp/1741236932_532029_1340977882_00b94b04bbad87df81ee1934b760f74c.jpg', 'extension': 'jpg'}, 1340977893: {'path': 'temp/1741236932_532029_1340977893_199a16e3c753b0a551571d9df39d3ed0.jpg', 'extension': 'jpg'}, 1340977734: {'path': 'temp/1741236932_532029_1340977734_d591a1964e921c22afdaaf94b84353be.jpg', 'extension': 'jpg'}, 1340977739: {'path': 'temp/1741236932_532029_1340977739_3989ceb60ed1e0e75309248886a71f83.jpg', 'extension': 'jpg'}, 1340977743: {'path': 'temp/1741236932_532029_1340977743_a26427b550f9ea3bec58894c18de762d.jpg', 'extension': 'jpg'}, 1340977747: {'path': 'temp/1741236932_532029_1340977747_7f88c02348a0065109d9682de54b5dc9.jpg', 'extension': 'jpg'}, 1340977752: {'path': 'temp/1741236932_532029_1340977752_0feec531151f96113d9dc588082e4da7.jpg', 'extension': 'jpg'}, 1340977756: {'path': 'temp/1741236932_532029_1340977756_9120142c1a7870a203cde4a2b873f8bf.jpg', 'extension': 'jpg'}, 1340977774: {'path': 'temp/1741236932_532029_1340977774_a150e0eccf0e19256bb174bc059a2505.jpg', 'extension': 'jpg'}, 1340977778: {'path': 'temp/1741236932_532029_1340977778_97446e24cd03a43158d3f9438e855d8e.jpg', 'extension': 'jpg'}, 1340977811: {'path': 'temp/1741236932_532029_1340977811_c154b0e27a6c9f0ccebb04b8a585fcdd.jpg', 'extension': 'jpg'}, 1340977472: {'path': 'temp/1741236932_532029_1340977472_7fc94d5fbdc84566f975f0d03b841558.jpg', 'extension': 'jpg'}, 1340977484: {'path': 'temp/1741236932_532029_1340977484_df903810303bb96c4882e2895df08477.jpg', 'extension': 'jpg'}, 1340977489: {'path': 'temp/1741236932_532029_1340977489_85061d85f1d2260b89603dc7a6f2da18.jpg', 'extension': 'jpg'}, 1340977491: {'path': 'temp/1741236932_532029_1340977491_d7a2fa08e277fefc59406143ce08a7da.jpg', 'extension': 'jpg'}, 1340977635: {'path': 'temp/1741236932_532029_1340977635_37b270ca66c37c7a7b7c5f6236bf53fb.jpg', 'extension': 'jpg'}, 1340977644: {'path': 'temp/1741236932_532029_1340977644_8d019ac2a5d1f9503635a7b1119c4c63.jpg', 'extension': 'jpg'}, 1340977649: {'path': 'temp/1741236932_532029_1340977649_4d258b19882202f0b199791012b80051.jpg', 'extension': 'jpg'}, 1340977657: {'path': 'temp/1741236932_532029_1340977657_14905959b0e4a277232aff9fb893e8fa.jpg', 'extension': 'jpg'}, 1340977693: {'path': 'temp/1741236932_532029_1340977693_1db82151f27973c7d01f98b138fc69e9.jpg', 'extension': 'jpg'}, 1340976257: {'path': 'temp/1741236932_532029_1340976257_34fa7e8837b5d187c20b0b0d39582da2.jpg', 'extension': 'jpg'}, 1340976277: {'path': 'temp/1741236932_532029_1340976277_5406fb223a1dcfdb955e32a78ee31844.jpg', 'extension': 'jpg'}, 1340976284: {'path': 'temp/1741236932_532029_1340976284_1cfd1be07ea1dd740fe162d79749d067.jpg', 'extension': 'jpg'}, 1340976417: {'path': 'temp/1741236932_532029_1340976417_6a238245931d9327a3241f29f2743d9b.jpg', 'extension': 'jpg'}, 1340976427: {'path': 'temp/1741236932_532029_1340976427_901db1e86b158b97577d7a73a3cca64c.jpg', 'extension': 'jpg'}, 1340976452: {'path': 'temp/1741236932_532029_1340976452_6820ee0247e8b5632dbdf9e4b71d20af.jpg', 'extension': 'jpg'}, 1340977170: {'path': 'temp/1741236932_532029_1340977170_122a8fff60d5a0caa4c4d1d5c0919157.jpg', 'extension': 'jpg'}, 1340977425: {'path': 'temp/1741236932_532029_1340977425_b9190d02a345981b1f27dfbef20612f3.jpg', 'extension': 'jpg'}, 1340977447: {'path': 'temp/1741236932_532029_1340977447_9fd8d2d8b0b1f1047617eadd4804badd.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 = 21054980; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 21054980 group by h (('09', 44),) 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=21054980 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 (21054980) 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 (21054980) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 05032025 21054980 Nombre de photos uploadées : 44 / 23040 (0%) 05032025 21054980 Nombre de photos taguées (types de déchets): 0 / 44 (0%) 05032025 21054980 Nombre de photos taguées (volume) : 0 / 44 (0%) [{'photo_id': 1340976284, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/1cfd1be07ea1dd740fe162d79749d067.jpg', 'username': None, 'uploaded_at': 1741163603, 'text': 'image_05032025_09_31_54_10134.jpg'}, {'photo_id': 1340976277, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/5406fb223a1dcfdb955e32a78ee31844.jpg', 'username': None, 'uploaded_at': 1741163603, 'text': 'image_05032025_09_32_15_010134m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1340976257, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/34fa7e8837b5d187c20b0b0d39582da2.jpg', 'username': None, 'uploaded_at': 1741163603, 'text': 'image_05032025_09_32_34_010140m0.jpg 2e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1340976452, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/5/6820ee0247e8b5632dbdf9e4b71d20af.jpg', 'username': None, 'uploaded_at': 1741163663, 'text': 'image_05032025_09_32_44_010093m0.jpg 3.0000000000000004e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 7.62939453125e-06 ???????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0032002925872802734 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21054980, '2025-03-05' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1639483,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02850818634033203 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= 1639483 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21033425, 'dashboard_result_id': 9258566, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21033427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21033428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21033429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21033430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21033431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21033432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21033433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21033434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21033435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21033436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21033437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21033438, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21033980, 'dashboard_result_id': 9258567, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034055, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21034713, 'dashboard_result_id': 9258568, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034726, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21035092, 'dashboard_result_id': 9258569, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21035123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21035124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21035125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21035126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21035127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21035128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21035129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21035130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21035131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21035132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21035133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21035134, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21036224, 'dashboard_result_id': 9258570, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036239, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21036613, 'dashboard_result_id': 9258571, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036662, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21037191, 'dashboard_result_id': 9258572, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037205, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21037712, 'dashboard_result_id': 9258573, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037747, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21038145, 'dashboard_result_id': 9258574, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038165, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21038910, 'dashboard_result_id': 9258575, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038965, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21039790, 'dashboard_result_id': 9258576, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21039845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21039846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21039847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21039848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21039849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21039850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21039851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21039852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21039853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21039854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21039855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21039856, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21040497, 'dashboard_result_id': 9258577, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21040528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21040529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21040530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21040531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21040532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21040533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21040534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21040535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21040536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21040537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21040538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21040539, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21041140, 'dashboard_result_id': 9258578, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21041168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21041169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21041170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21041171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21041172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21041173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21041174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21041175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21041176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21041177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21041178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21041179, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21042325, 'dashboard_result_id': 9258579, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042338, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21042685, 'dashboard_result_id': 9258580, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042749, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21043129, 'dashboard_result_id': 9258581, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21043133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21043134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21043135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21043136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21043137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21043138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21043139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21043140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21043141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21043142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21043143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21043144, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21044125, 'dashboard_result_id': 9258582, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044140, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21044494, 'dashboard_result_id': 9258583, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044563, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044571, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21045283, 'dashboard_result_id': 9258584, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045298, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21045913, 'dashboard_result_id': 9258585, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045952, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21046524, 'dashboard_result_id': 9258586, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21046569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21046570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21046571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21046572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21046573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21046574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21046575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21046576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21046577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21046578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21046579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21046580, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21047038, 'dashboard_result_id': 9258587, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047127, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21047744, 'dashboard_result_id': 9258588, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047846, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21048689, 'dashboard_result_id': 9258589, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21048693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21048694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21048695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21048696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21048697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21048698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21048699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21048700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21048701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21048702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21048703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21048704, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21049193, 'dashboard_result_id': 9258590, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21049198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049209, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21049512, 'dashboard_result_id': 9258591, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_06-03-2025_05_52_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21049546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049554, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21050173, 'dashboard_result_id': 9258592, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_06-03-2025_05_52_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21050203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21050204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21050205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21050206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21050207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21050208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21050209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21050210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21050211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21050212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21050213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21050214, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21051281, 'dashboard_result_id': 9258593, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_06-03-2025_05_53_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21051284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051295, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21051425, 'dashboard_result_id': 9258594, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_06-03-2025_05_54_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21051451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051457, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21052316, 'dashboard_result_id': 9258595, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_06-03-2025_05_54_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21052360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21052361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21052362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21052363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21052364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21052365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21052366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21052367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21052368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21052369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21052370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21052371, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21054980, 'dashboard_result_id': 9258596, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_05-03-2025_09_50_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21054985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21054986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21054987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21054988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21054989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21054990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21054991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21054992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21054993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21054994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21054995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21054996, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21055376, 'dashboard_result_id': 9258597, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21055393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21055394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21055395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21055396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21055397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21055398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21055399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21055400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21055401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21055402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21055403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21055404, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21055994, 'dashboard_result_id': 9258598, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056067, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21056557, 'dashboard_result_id': 9258599, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056610, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21057093, 'dashboard_result_id': 9258600, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21057145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057146, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057151, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21057791, 'dashboard_result_id': 9258601, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21057843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057854, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21058601, 'dashboard_result_id': 9258602, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21058609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21058610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21058611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21058612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21058613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21058614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21058615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21058616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21058617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21058618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21058619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21058620, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21059569, 'dashboard_result_id': 9258603, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21059622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21059623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21059624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21059625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21059626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21059627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21059628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21059629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21059630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21059631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21059632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21059633, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21060521, 'dashboard_result_id': 9258604, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21060575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21060576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21060577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21060578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21060579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21060580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21060581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21060582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21060583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21060584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21060585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21060586, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21061213, 'dashboard_result_id': 9258605, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21061248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061251, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21061831, 'dashboard_result_id': 9258606, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21061836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061847, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21062550, 'dashboard_result_id': 9258607, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21062581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21062582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21062583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21062584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21062585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21062586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21062587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21062588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21062589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21062590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21062591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21062592, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21063507, 'dashboard_result_id': 9258608, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21063537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21063538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21063539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21063540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21063541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21063542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21063543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21063544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21063545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21063546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21063547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21063548, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21064890, 'dashboard_result_id': 9258609, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21064893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21064894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21064895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21064896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21064897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21064898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21064899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21064900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21064901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21064902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21064903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21064904, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21065329, 'dashboard_result_id': 9258610, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21065335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065344, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21065887, 'dashboard_result_id': 9258611, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21065890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065901, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21066213, 'dashboard_result_id': 9258612, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066232, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21066761, 'dashboard_result_id': 9258613, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066781, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21067346, 'dashboard_result_id': 9258614, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21067425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21067426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21067427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21067428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21067429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21067430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21067431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21067432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21067433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21067434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21067435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21067436, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21068092, 'dashboard_result_id': 9258615, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21068221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068232, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21068851, 'dashboard_result_id': 9258616, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21068856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068866, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21069448, 'dashboard_result_id': 9258617, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21069474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21069475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21069476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21069477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21069478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21069479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21069480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21069481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21069482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21069483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21069484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21069485, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21070024, 'dashboard_result_id': 9258618, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070040, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21070737, 'dashboard_result_id': 9258619, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070750, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21071260, 'dashboard_result_id': 9258620, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21071329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21071330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21071331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21071332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21071333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21071334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21071335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21071336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21071337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21071338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21071339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21071340, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21072038, 'dashboard_result_id': 9258621, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21072052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072063, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21072747, 'dashboard_result_id': 9258622, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21072777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072787, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21073320, 'dashboard_result_id': 9258623, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21073352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21073354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21073355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21073356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21073357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21073358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21073359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21073360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21073361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21073362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21073363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21073364, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21075474, 'dashboard_result_id': 9258624, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075489, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21075610, 'dashboard_result_id': 9258625, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075629, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21076180, 'dashboard_result_id': 9258626, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21076203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21076204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21076205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21076206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21076207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21076208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21076209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21076216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21076221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21076227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21076231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21076232, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21077165, 'dashboard_result_id': 9258627, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21077196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21077197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21077198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21077199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21077200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21077201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21077202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21077203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21077204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21077205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21077206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21077207, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21077992, 'dashboard_result_id': 9258628, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078030, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21078591, 'dashboard_result_id': 9258629, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078705, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21079365, 'dashboard_result_id': 9258630, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21079394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21079395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21079396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21079397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21079398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21079399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21079400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21079401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21079402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21079403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21079404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21079405, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21080175, 'dashboard_result_id': 9258631, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21080229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21080231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080240, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21080934, 'dashboard_result_id': 9258632, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21080965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21080968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080976, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21081691, 'dashboard_result_id': 9258633, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21081721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21081722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21081723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21081724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21081725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21081726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21081727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21081729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21081730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21081731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21081732, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21082457, 'dashboard_result_id': 9258634, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21082486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21082487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21082488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21082489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21082490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21082491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21082492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21082493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21082494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21082495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21082496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21082497, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21084766, 'dashboard_result_id': 9258635, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21084769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21084770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21084771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21084772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21084773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21084774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21084775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21084776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21084777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21084778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21084779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21084780, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21085217, 'dashboard_result_id': 9258636, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21085224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085230, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21085748, 'dashboard_result_id': 9258637, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21085767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085778, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21086544, 'dashboard_result_id': 9258638, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21086547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21086548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21086549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21086550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21086551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21086552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21086553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21086554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21086555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21086556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21086557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21086558, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21087063, 'dashboard_result_id': 9258639, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21087075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087080, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21087662, 'dashboard_result_id': 9258640, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21087664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087675, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21088194, 'dashboard_result_id': 9258641, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21088252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088263, 'pht': 3726}}"}, {'dashboat_entry_day': 1639483, 'dashboard_run_id': 1651215, 'mtr_portfolio_id': 21088687, 'dashboard_result_id': 9258642, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21088726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088728, '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 = 21033425 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641363, 'mtr_portfolio_id': 21033425, 'created_at': datetime.datetime(2025, 3, 6, 5, 35, 33), 'result': '0.0833070034167207', 'result_long': None, 'result_double': None}] Qualite : 0.0833070034167207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21033425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21033425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21033427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21033428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21033429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21033430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21033431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21033432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21033433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21033434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21033435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21033436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21033437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21033438, 'pht': 3726}}" where mtr_portfolio_id = 21033425 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21033425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258566, 0.0833070034167207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033425_06-03-2025_05_35_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21033427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21033428, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21033429, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21033430, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21033431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21033432, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21033433, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21033434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21033435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21033436, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21033437, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21033438, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21033980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641364, 'mtr_portfolio_id': 21033980, 'created_at': datetime.datetime(2025, 3, 6, 5, 36, 5), 'result': '0.07113474687759852', 'result_long': None, 'result_double': None}] Qualite : 0.07113474687759852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21033980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21033980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034055, 'pht': 3726}}" where mtr_portfolio_id = 21033980 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21033980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258567, 0.07113474687759852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21033980_06-03-2025_05_36_07.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034046, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034051, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034052, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034053, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21034713 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641365, 'mtr_portfolio_id': 21034713, 'created_at': datetime.datetime(2025, 3, 6, 5, 36, 33), 'result': '0.07128767038029826', 'result_long': None, 'result_double': None}] Qualite : 0.07128767038029826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21034713 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21034713 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034726, 'pht': 3726}}" where mtr_portfolio_id = 21034713 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21034713 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258568, 0.07128767038029826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21034713_06-03-2025_05_36_35.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21034715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21034716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21034717, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21034718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21034719, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21034720, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21034721, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21034722, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21034723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21034724, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21034725, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21034726, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21035092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641366, 'mtr_portfolio_id': 21035092, 'created_at': datetime.datetime(2025, 3, 6, 5, 37, 33), 'result': '0.0697531505473047', 'result_long': None, 'result_double': None}] Qualite : 0.0697531505473047 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21035092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21035092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21035123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21035124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21035125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21035126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21035127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21035128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21035129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21035130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21035131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21035132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21035133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21035134, 'pht': 3726}}" where mtr_portfolio_id = 21035092 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21035092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258569, 0.0697531505473047, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21035092_06-03-2025_05_37_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21035123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21035124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21035125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21035126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21035127, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21035128, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21035129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21035130, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21035131, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21035132, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21035133, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21035134, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21036224 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641367, 'mtr_portfolio_id': 21036224, 'created_at': datetime.datetime(2025, 3, 6, 5, 38), 'result': '0.051064956915849426', 'result_long': None, 'result_double': None}] Qualite : 0.051064956915849426 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21036224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21036224 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036239, 'pht': 3726}}" where mtr_portfolio_id = 21036224 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21036224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258570, 0.051064956915849426, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036224_06-03-2025_05_38_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036228, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036229, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036230, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036231, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036232, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036234, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036235, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036236, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036237, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036238, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036239, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21036613 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641368, 'mtr_portfolio_id': 21036613, 'created_at': datetime.datetime(2025, 3, 6, 5, 38, 33), 'result': '0.0891778822664346', 'result_long': None, 'result_double': None}] Qualite : 0.0891778822664346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21036613 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21036613 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036662, 'pht': 3726}}" where mtr_portfolio_id = 21036613 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21036613 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258571, 0.0891778822664346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21036613_06-03-2025_05_38_37.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21036651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21036652, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21036653, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21036654, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21036655, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21036656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21036657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21036658, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21036659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21036660, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21036661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21036662, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21037191 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641369, 'mtr_portfolio_id': 21037191, 'created_at': datetime.datetime(2025, 3, 6, 5, 39, 33), 'result': '0.07142905120427938', 'result_long': None, 'result_double': None}] Qualite : 0.07142905120427938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21037191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21037191 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037205, 'pht': 3726}}" where mtr_portfolio_id = 21037191 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21037191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258572, 0.07142905120427938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037191_06-03-2025_05_39_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037194, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037195, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037196, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037197, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037198, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037201, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037202, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037203, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037205, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21037712 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641370, 'mtr_portfolio_id': 21037712, 'created_at': datetime.datetime(2025, 3, 6, 5, 40), 'result': '0.08664324663095904', 'result_long': None, 'result_double': None}] Qualite : 0.08664324663095904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21037712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21037712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037747, 'pht': 3726}}" where mtr_portfolio_id = 21037712 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21037712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258573, 0.08664324663095904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21037712_06-03-2025_05_40_04.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21037723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21037728, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21037734, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21037738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21037739, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21037740, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21037741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21037742, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21037743, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21037744, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21037746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21037747, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21038145 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641371, 'mtr_portfolio_id': 21038145, 'created_at': datetime.datetime(2025, 3, 6, 5, 40, 35), 'result': '0.07623731304963935', 'result_long': None, 'result_double': None}] Qualite : 0.07623731304963935 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21038145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21038145 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038165, 'pht': 3726}}" where mtr_portfolio_id = 21038145 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21038145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258574, 0.07623731304963935, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038145_06-03-2025_05_40_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038154, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038155, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038156, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038157, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038158, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038159, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038164, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038165, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21038910 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641372, 'mtr_portfolio_id': 21038910, 'created_at': datetime.datetime(2025, 3, 6, 5, 41, 29), 'result': '0.08024240514750497', 'result_long': None, 'result_double': None}] Qualite : 0.08024240514750497 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21038910 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21038910 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038965, 'pht': 3726}}" where mtr_portfolio_id = 21038910 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21038910 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258575, 0.08024240514750497, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21038910_06-03-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21038954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21038955, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21038956, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21038957, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21038958, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21038959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21038960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21038961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21038962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21038963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21038964, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21038965, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21039790 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641373, 'mtr_portfolio_id': 21039790, 'created_at': datetime.datetime(2025, 3, 6, 5, 41, 59), 'result': '0.07165907225667884', 'result_long': None, 'result_double': None}] Qualite : 0.07165907225667884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21039790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21039790 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21039845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21039846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21039847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21039848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21039849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21039850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21039851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21039852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21039853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21039854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21039855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21039856, 'pht': 3726}}" where mtr_portfolio_id = 21039790 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21039790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258576, 0.07165907225667884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21039790_06-03-2025_05_42_09.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21039845, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21039846, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21039847, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21039848, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21039849, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21039850, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21039851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21039852, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21039853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21039854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21039855, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21039856, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21040497 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641374, 'mtr_portfolio_id': 21040497, 'created_at': datetime.datetime(2025, 3, 6, 5, 43, 2), 'result': '0.08260817227849163', 'result_long': None, 'result_double': None}] Qualite : 0.08260817227849163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21040497 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21040497 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21040528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21040529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21040530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21040531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21040532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21040533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21040534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21040535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21040536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21040537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21040538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21040539, 'pht': 3726}}" where mtr_portfolio_id = 21040497 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21040497 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258577, 0.08260817227849163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21040497_06-03-2025_05_43_06.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21040528, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21040529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21040530, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21040531, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21040532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21040533, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21040534, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21040535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21040536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21040537, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21040538, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21040539, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21041140 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641375, 'mtr_portfolio_id': 21041140, 'created_at': datetime.datetime(2025, 3, 6, 5, 43, 30), 'result': '0.08686238245607404', 'result_long': None, 'result_double': None}] Qualite : 0.08686238245607404 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21041140 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21041140 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21041168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21041169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21041170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21041171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21041172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21041173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21041174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21041175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21041176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21041177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21041178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21041179, 'pht': 3726}}" where mtr_portfolio_id = 21041140 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21041140 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258578, 0.08686238245607404, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21041140_06-03-2025_05_43_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21041168, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21041169, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21041170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21041171, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21041172, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21041173, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21041174, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21041175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21041176, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21041177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21041178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21041179, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21042325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641376, 'mtr_portfolio_id': 21042325, 'created_at': datetime.datetime(2025, 3, 6, 5, 44, 2), 'result': '0.07328652100597133', 'result_long': None, 'result_double': None}] Qualite : 0.07328652100597133 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21042325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21042325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042338, 'pht': 3726}}" where mtr_portfolio_id = 21042325 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21042325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258579, 0.07328652100597133, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042325_06-03-2025_05_44_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042327, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042328, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042331, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042332, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042333, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042335, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042336, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042337, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042338, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21042685 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641377, 'mtr_portfolio_id': 21042685, 'created_at': datetime.datetime(2025, 3, 6, 5, 44, 30), 'result': '0.07331245684304463', 'result_long': None, 'result_double': None}] Qualite : 0.07331245684304463 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21042685 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21042685 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042749, 'pht': 3726}}" where mtr_portfolio_id = 21042685 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21042685 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258580, 0.07331245684304463, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21042685_06-03-2025_05_44_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21042738, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21042739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21042740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21042741, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21042742, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21042743, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21042744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21042745, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21042746, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21042747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21042748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21042749, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21043129 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641378, 'mtr_portfolio_id': 21043129, 'created_at': datetime.datetime(2025, 3, 6, 5, 45, 31), 'result': '0.08375771864516758', 'result_long': None, 'result_double': None}] Qualite : 0.08375771864516758 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21043129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21043129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21043133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21043134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21043135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21043136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21043137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21043138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21043139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21043140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21043141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21043142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21043143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21043144, 'pht': 3726}}" where mtr_portfolio_id = 21043129 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21043129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258581, 0.08375771864516758, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21043129_06-03-2025_05_45_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21043133, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21043134, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21043135, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21043136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21043137, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21043138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21043139, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21043140, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21043141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21043142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21043143, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21043144, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21044125 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641379, 'mtr_portfolio_id': 21044125, 'created_at': datetime.datetime(2025, 3, 6, 5, 46, 1), 'result': '0.07867413408626288', 'result_long': None, 'result_double': None}] Qualite : 0.07867413408626288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21044125 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21044125 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044140, 'pht': 3726}}" where mtr_portfolio_id = 21044125 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21044125 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258582, 0.07867413408626288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044125_06-03-2025_05_46_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044129, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044130, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044131, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044132, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044133, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044134, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044136, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044140, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21044494 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641380, 'mtr_portfolio_id': 21044494, 'created_at': datetime.datetime(2025, 3, 6, 5, 46, 34), 'result': '0.06874529522993901', 'result_long': None, 'result_double': None}] Qualite : 0.06874529522993901 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21044494 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21044494 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044563, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044571, 'pht': 3726}}" where mtr_portfolio_id = 21044494 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21044494 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258583, 0.06874529522993901, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21044494_06-03-2025_05_46_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21044560, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21044561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21044562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21044563, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21044564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21044565, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21044566, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21044567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21044568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21044569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21044570, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21044571, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21045283 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641381, 'mtr_portfolio_id': 21045283, 'created_at': datetime.datetime(2025, 3, 6, 5, 47, 33), 'result': '0.06931256846156175', 'result_long': None, 'result_double': None}] Qualite : 0.06931256846156175 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21045283 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21045283 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045298, 'pht': 3726}}" where mtr_portfolio_id = 21045283 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21045283 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258584, 0.06931256846156175, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045283_06-03-2025_05_47_37.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045287, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045289, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045293, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045295, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045296, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21045913 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641382, 'mtr_portfolio_id': 21045913, 'created_at': datetime.datetime(2025, 3, 6, 5, 48, 1), 'result': '0.06208280836367942', 'result_long': None, 'result_double': None}] Qualite : 0.06208280836367942 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21045913 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21045913 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045952, 'pht': 3726}}" where mtr_portfolio_id = 21045913 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21045913 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258585, 0.06208280836367942, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21045913_06-03-2025_05_48_08.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21045941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21045942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21045943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21045944, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21045945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21045946, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21045947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21045948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21045949, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21045950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21045951, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21045952, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21046524 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641383, 'mtr_portfolio_id': 21046524, 'created_at': datetime.datetime(2025, 3, 6, 5, 48, 30), 'result': '0.07507858789528875', 'result_long': None, 'result_double': None}] Qualite : 0.07507858789528875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21046524 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21046524 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21046569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21046570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21046571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21046572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21046573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21046574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21046575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21046576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21046577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21046578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21046579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21046580, 'pht': 3726}}" where mtr_portfolio_id = 21046524 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21046524 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258586, 0.07507858789528875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21046524_06-03-2025_05_48_38.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21046569, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21046570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21046571, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21046572, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21046573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21046574, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21046575, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21046576, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21046577, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21046578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21046579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21046580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21047038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641384, 'mtr_portfolio_id': 21047038, 'created_at': datetime.datetime(2025, 3, 6, 5, 49, 34), 'result': '0.07455404284396845', 'result_long': None, 'result_double': None}] Qualite : 0.07455404284396845 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21047038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21047038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047127, 'pht': 3726}}" where mtr_portfolio_id = 21047038 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21047038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258587, 0.07455404284396845, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047038_06-03-2025_05_49_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047116, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047118, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047119, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047121, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047122, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047125, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047127, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21047744 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641385, 'mtr_portfolio_id': 21047744, 'created_at': datetime.datetime(2025, 3, 6, 5, 49, 59), 'result': '0.06923362186650253', 'result_long': None, 'result_double': None}] Qualite : 0.06923362186650253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21047744 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21047744 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047846, 'pht': 3726}}" where mtr_portfolio_id = 21047744 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21047744 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258588, 0.06923362186650253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21047744_06-03-2025_05_50_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21047835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21047836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21047837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21047838, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21047839, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21047840, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21047841, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21047842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21047843, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21047844, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21047845, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21047846, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21048689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641386, 'mtr_portfolio_id': 21048689, 'created_at': datetime.datetime(2025, 3, 6, 5, 50, 37), 'result': '0.07105673775979944', 'result_long': None, 'result_double': None}] Qualite : 0.07105673775979944 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21048689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21048689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21048693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21048694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21048695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21048696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21048697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21048698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21048699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21048700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21048701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21048702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21048703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21048704, 'pht': 3726}}" where mtr_portfolio_id = 21048689 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21048689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258589, 0.07105673775979944, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21048689_06-03-2025_05_50_39.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21048693, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21048694, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21048695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21048696, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21048697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21048698, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21048699, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21048700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21048701, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21048702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21048703, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21048704, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21049193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641387, 'mtr_portfolio_id': 21049193, 'created_at': datetime.datetime(2025, 3, 6, 5, 51, 30), 'result': '0.0686644854160504', 'result_long': None, 'result_double': None}] Qualite : 0.0686644854160504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21049193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21049193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21049198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049209, 'pht': 3726}}" where mtr_portfolio_id = 21049193 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21049193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258590, 0.0686644854160504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049193_06-03-2025_05_51_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21049198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049199, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049200, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049202, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049203, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049205, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049206, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049209, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21049512 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641388, 'mtr_portfolio_id': 21049512, 'created_at': datetime.datetime(2025, 3, 6, 5, 52), 'result': '0.07308571091912897', 'result_long': None, 'result_double': None}] Qualite : 0.07308571091912897 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21049512 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_06-03-2025_05_52_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21049512 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_06-03-2025_05_52_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21049546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049554, 'pht': 3726}}" where mtr_portfolio_id = 21049512 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21049512 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258591, 0.07308571091912897, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21049512_06-03-2025_05_52_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21049543, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21049544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21049545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21049546, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21049547, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21049548, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21049549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21049550, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21049551, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21049552, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21049553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21049554, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21050173 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641389, 'mtr_portfolio_id': 21050173, 'created_at': datetime.datetime(2025, 3, 6, 5, 52, 32), 'result': '0.09079789692361671', 'result_long': None, 'result_double': None}] Qualite : 0.09079789692361671 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21050173 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_06-03-2025_05_52_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21050173 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_06-03-2025_05_52_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21050203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21050204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21050205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21050206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21050207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21050208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21050209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21050210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21050211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21050212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21050213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21050214, 'pht': 3726}}" where mtr_portfolio_id = 21050173 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21050173 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258592, 0.09079789692361671, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21050173_06-03-2025_05_52_37.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21050203, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21050204, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21050205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21050206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21050207, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21050208, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21050209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21050210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21050211, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21050212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21050213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21050214, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21051281 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641390, 'mtr_portfolio_id': 21051281, 'created_at': datetime.datetime(2025, 3, 6, 5, 53, 29), 'result': '0.07294807447106841', 'result_long': None, 'result_double': None}] Qualite : 0.07294807447106841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21051281 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_06-03-2025_05_53_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21051281 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_06-03-2025_05_53_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21051284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051295, 'pht': 3726}}" where mtr_portfolio_id = 21051281 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21051281 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258593, 0.07294807447106841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051281_06-03-2025_05_53_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21051284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051286, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051288, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051289, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051290, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051291, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051292, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051293, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051294, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051295, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21051425 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641391, 'mtr_portfolio_id': 21051425, 'created_at': datetime.datetime(2025, 3, 6, 5, 54, 5), 'result': '0.07504796202873337', 'result_long': None, 'result_double': None}] Qualite : 0.07504796202873337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21051425 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_06-03-2025_05_54_17.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21051425 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_06-03-2025_05_54_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21051451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051457, 'pht': 3726}}" where mtr_portfolio_id = 21051425 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21051425 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258594, 0.07504796202873337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21051425_06-03-2025_05_54_17.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21051446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21051447, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21051448, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21051449, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21051450, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21051451, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21051452, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21051453, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21051454, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21051455, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21051456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21051457, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21052316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641392, 'mtr_portfolio_id': 21052316, 'created_at': datetime.datetime(2025, 3, 6, 5, 54, 29), 'result': '0.0852352265924406', 'result_long': None, 'result_double': None}] Qualite : 0.0852352265924406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21052316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_06-03-2025_05_54_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21052316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_06-03-2025_05_54_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21052360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21052361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21052362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21052363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21052364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21052365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21052366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21052367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21052368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21052369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21052370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21052371, 'pht': 3726}}" where mtr_portfolio_id = 21052316 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21052316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258595, 0.0852352265924406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21052316_06-03-2025_05_54_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21052360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21052361, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21052362, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21052363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21052364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21052365, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21052366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21052367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21052368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21052369, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21052370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21052371, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21054980 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2641393, 'mtr_portfolio_id': 21054980, 'created_at': datetime.datetime(2025, 3, 6, 5, 55, 32), 'result': '0.06409501554803271', 'result_long': None, 'result_double': None}] Qualite : 0.06409501554803271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21054980 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_06-03-2025_05_55_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21054980 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_06-03-2025_05_55_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21054985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21054986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21054987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21054988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21054989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21054990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21054991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21054992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21054993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21054994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21054995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21054996, 'pht': 3726}}" where mtr_portfolio_id = 21054980 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21054980 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258596, 0.06409501554803271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21054980_06-03-2025_05_55_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21054985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21054986, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21054987, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21054988, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21054989, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21054990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21054991, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21054992, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21054993, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21054994, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21054995, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21054996, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21055376 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636889, 'mtr_portfolio_id': 21055376, 'created_at': datetime.datetime(2025, 3, 5, 10, 2, 30), 'result': '0.07375733454228972', 'result_long': None, 'result_double': None}] Qualite : 0.07375733454228972 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21055376 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21055376 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21055393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21055394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21055395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21055396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21055397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21055398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21055399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21055400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21055401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21055402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21055403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21055404, 'pht': 3726}}" where mtr_portfolio_id = 21055376 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21055376 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258597, 0.07375733454228972, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055376_05-03-2025_10_02_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21055393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21055394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21055395, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21055396, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21055397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21055398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21055399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21055400, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21055401, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21055402, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21055403, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21055404, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21055994 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2636999, 'mtr_portfolio_id': 21055994, 'created_at': datetime.datetime(2025, 3, 5, 10, 18, 58), 'result': '0.08450834096634112', 'result_long': None, 'result_double': None}] Qualite : 0.08450834096634112 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21055994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21055994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056067, 'pht': 3726}}" where mtr_portfolio_id = 21055994 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21055994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258598, 0.08450834096634112, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21055994_05-03-2025_10_18_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056056, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056057, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056059, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056062, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056064, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056067, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21056557 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637050, 'mtr_portfolio_id': 21056557, 'created_at': datetime.datetime(2025, 3, 5, 10, 33, 1), 'result': '0.0727461843324288', 'result_long': None, 'result_double': None}] Qualite : 0.0727461843324288 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21056557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21056557 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056610, 'pht': 3726}}" where mtr_portfolio_id = 21056557 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21056557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258599, 0.0727461843324288, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21056557_05-03-2025_10_33_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21056599, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21056600, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21056601, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21056602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21056603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21056604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21056605, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21056606, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21056607, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21056608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21056609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21056610, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21057093 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637172, 'mtr_portfolio_id': 21057093, 'created_at': datetime.datetime(2025, 3, 5, 10, 48, 59), 'result': '0.07712479343907049', 'result_long': None, 'result_double': None}] Qualite : 0.07712479343907049 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21057093 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21057093 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21057145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057146, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057151, 'pht': 3726}}" where mtr_portfolio_id = 21057093 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21057093 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258600, 0.07712479343907049, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057093_05-03-2025_10_48_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057140, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057141, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057142, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057143, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057144, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21057145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057146, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057147, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057148, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057149, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057151, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21057791 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637252, 'mtr_portfolio_id': 21057791, 'created_at': datetime.datetime(2025, 3, 5, 11, 3), 'result': '0.08542071964861277', 'result_long': None, 'result_double': None}] Qualite : 0.08542071964861277 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21057791 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21057791 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21057843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057854, 'pht': 3726}}" where mtr_portfolio_id = 21057791 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21057791 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258601, 0.08542071964861277, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21057791_05-03-2025_11_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21057843, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21057844, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21057845, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21057846, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21057847, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21057848, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21057849, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21057850, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21057851, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21057852, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21057853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21057854, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21058601 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637404, 'mtr_portfolio_id': 21058601, 'created_at': datetime.datetime(2025, 3, 5, 11, 19, 1), 'result': '0.05290679038097258', 'result_long': None, 'result_double': None}] Qualite : 0.05290679038097258 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21058601 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21058601 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21058609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21058610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21058611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21058612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21058613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21058614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21058615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21058616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21058617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21058618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21058619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21058620, 'pht': 3726}}" where mtr_portfolio_id = 21058601 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21058601 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258602, 0.05290679038097258, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21058601_05-03-2025_11_19_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21058609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21058610, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21058611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21058612, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21058613, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21058614, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21058615, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21058616, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21058617, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21058618, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21058619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21058620, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21059569 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637579, 'mtr_portfolio_id': 21059569, 'created_at': datetime.datetime(2025, 3, 5, 11, 32, 58), 'result': '0.04724854187996125', 'result_long': None, 'result_double': None}] Qualite : 0.04724854187996125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21059569 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21059569 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21059622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21059623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21059624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21059625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21059626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21059627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21059628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21059629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21059630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21059631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21059632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21059633, 'pht': 3726}}" where mtr_portfolio_id = 21059569 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21059569 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258603, 0.04724854187996125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21059569_05-03-2025_11_32_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21059622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21059623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21059624, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21059625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21059626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21059627, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21059628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21059629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21059630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21059631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21059632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21059633, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21060521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637680, 'mtr_portfolio_id': 21060521, 'created_at': datetime.datetime(2025, 3, 5, 11, 48, 59), 'result': '0.05053392764174682', 'result_long': None, 'result_double': None}] Qualite : 0.05053392764174682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21060521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21060521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21060575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21060576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21060577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21060578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21060579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21060580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21060581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21060582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21060583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21060584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21060585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21060586, 'pht': 3726}}" where mtr_portfolio_id = 21060521 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21060521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258604, 0.05053392764174682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21060521_05-03-2025_11_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21060575, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21060576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21060577, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21060578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21060579, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21060580, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21060581, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21060582, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21060583, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21060584, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21060585, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21060586, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21061213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637716, 'mtr_portfolio_id': 21061213, 'created_at': datetime.datetime(2025, 3, 5, 12, 2, 57), 'result': '0.08783787561918349', 'result_long': None, 'result_double': None}] Qualite : 0.08783787561918349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21061213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21061213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21061248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061251, 'pht': 3726}}" where mtr_portfolio_id = 21061213 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21061213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258605, 0.08783787561918349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061213_05-03-2025_12_02_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061240, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061243, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061245, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061246, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061247, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21061248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061251, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21061831 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637772, 'mtr_portfolio_id': 21061831, 'created_at': datetime.datetime(2025, 3, 5, 12, 18, 57), 'result': '0.07364511141372794', 'result_long': None, 'result_double': None}] Qualite : 0.07364511141372794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21061831 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21061831 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21061836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061847, 'pht': 3726}}" where mtr_portfolio_id = 21061831 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21061831 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258606, 0.07364511141372794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21061831_05-03-2025_12_18_57.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21061836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21061837, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21061838, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21061839, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21061840, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21061841, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21061842, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21061843, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21061844, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21061845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21061846, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21061847, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21062550 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637814, 'mtr_portfolio_id': 21062550, 'created_at': datetime.datetime(2025, 3, 5, 12, 32, 58), 'result': '0.05919630101359719', 'result_long': None, 'result_double': None}] Qualite : 0.05919630101359719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21062550 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21062550 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21062581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21062582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21062583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21062584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21062585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21062586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21062587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21062588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21062589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21062590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21062591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21062592, 'pht': 3726}}" where mtr_portfolio_id = 21062550 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21062550 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258607, 0.05919630101359719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21062550_05-03-2025_12_32_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21062581, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21062582, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21062583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21062584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21062585, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21062586, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21062587, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21062588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21062589, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21062590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21062591, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21062592, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21063507 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637880, 'mtr_portfolio_id': 21063507, 'created_at': datetime.datetime(2025, 3, 5, 13, 16, 28), 'result': '0.06796759196768411', 'result_long': None, 'result_double': None}] Qualite : 0.06796759196768411 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21063507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21063507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21063537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21063538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21063539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21063540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21063541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21063542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21063543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21063544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21063545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21063546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21063547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21063548, 'pht': 3726}}" where mtr_portfolio_id = 21063507 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21063507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258608, 0.06796759196768411, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21063507_05-03-2025_13_16_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21063537, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21063538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21063539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21063540, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21063541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21063542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21063543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21063544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21063545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21063546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21063547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21063548, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21064890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2637995, 'mtr_portfolio_id': 21064890, 'created_at': datetime.datetime(2025, 3, 5, 13, 32, 56), 'result': '0.049103829146247904', 'result_long': None, 'result_double': None}] Qualite : 0.049103829146247904 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21064890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21064890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21064893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21064894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21064895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21064896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21064897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21064898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21064899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21064900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21064901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21064902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21064903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21064904, 'pht': 3726}}" where mtr_portfolio_id = 21064890 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21064890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258609, 0.049103829146247904, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21064890_05-03-2025_13_32_57.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21064893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21064894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21064895, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21064896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21064897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21064898, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21064899, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21064900, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21064901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21064902, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21064903, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21064904, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21065329 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638032, 'mtr_portfolio_id': 21065329, 'created_at': datetime.datetime(2025, 3, 5, 13, 48, 30), 'result': '0.06725393155301966', 'result_long': None, 'result_double': None}] Qualite : 0.06725393155301966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21065329 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21065329 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21065335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065344, 'pht': 3726}}" where mtr_portfolio_id = 21065329 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21065329 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258610, 0.06725393155301966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065329_05-03-2025_13_48_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065333, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065334, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21065335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065336, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065337, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065338, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065339, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065340, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065341, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065342, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065343, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065344, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21065887 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638069, 'mtr_portfolio_id': 21065887, 'created_at': datetime.datetime(2025, 3, 5, 14, 3), 'result': '0.06386013261676221', 'result_long': None, 'result_double': None}] Qualite : 0.06386013261676221 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21065887 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21065887 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21065890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065901, 'pht': 3726}}" where mtr_portfolio_id = 21065887 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21065887 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258611, 0.06386013261676221, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21065887_05-03-2025_14_03_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21065890, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21065891, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21065892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21065893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21065894, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21065895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21065896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21065897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21065898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21065899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21065900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21065901, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21066213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638114, 'mtr_portfolio_id': 21066213, 'created_at': datetime.datetime(2025, 3, 5, 14, 18, 57), 'result': '0.06937312702325606', 'result_long': None, 'result_double': None}] Qualite : 0.06937312702325606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21066213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21066213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066232, 'pht': 3726}}" where mtr_portfolio_id = 21066213 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21066213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258612, 0.06937312702325606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066213_05-03-2025_14_18_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066222, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066223, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066225, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066227, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066230, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21066761 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638242, 'mtr_portfolio_id': 21066761, 'created_at': datetime.datetime(2025, 3, 5, 14, 32, 59), 'result': '0.06308089093426422', 'result_long': None, 'result_double': None}] Qualite : 0.06308089093426422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21066761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21066761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066781, 'pht': 3726}}" where mtr_portfolio_id = 21066761 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21066761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258613, 0.06308089093426422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21066761_05-03-2025_14_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21066769, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21066770, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21066771, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21066772, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21066773, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21066774, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21066775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21066776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21066777, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21066778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21066780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21066781, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21067346 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638360, 'mtr_portfolio_id': 21067346, 'created_at': datetime.datetime(2025, 3, 5, 14, 48, 58), 'result': '0.06638973398858525', 'result_long': None, 'result_double': None}] Qualite : 0.06638973398858525 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21067346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21067346 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21067425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21067426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21067427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21067428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21067429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21067430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21067431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21067432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21067433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21067434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21067435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21067436, 'pht': 3726}}" where mtr_portfolio_id = 21067346 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21067346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258614, 0.06638973398858525, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21067346_05-03-2025_14_48_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21067425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21067426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21067427, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21067428, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21067429, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21067430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21067431, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21067432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21067433, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21067434, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21067435, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21067436, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21068092 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638454, 'mtr_portfolio_id': 21068092, 'created_at': datetime.datetime(2025, 3, 5, 15, 4, 32), 'result': '0.06531586035560082', 'result_long': None, 'result_double': None}] Qualite : 0.06531586035560082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21068092 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21068092 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21068221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068232, 'pht': 3726}}" where mtr_portfolio_id = 21068092 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21068092 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258615, 0.06531586035560082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068092_05-03-2025_15_04_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21068221, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068222, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068224, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068226, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068228, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21068851 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638518, 'mtr_portfolio_id': 21068851, 'created_at': datetime.datetime(2025, 3, 5, 15, 19, 1), 'result': '0.0714170125128325', 'result_long': None, 'result_double': None}] Qualite : 0.0714170125128325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21068851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21068851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21068856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068866, 'pht': 3726}}" where mtr_portfolio_id = 21068851 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21068851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258616, 0.0714170125128325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21068851_05-03-2025_15_19_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21068855, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21068856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21068857, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21068858, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21068859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21068860, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21068861, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21068862, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21068863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21068864, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21068865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21068866, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21069448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638550, 'mtr_portfolio_id': 21069448, 'created_at': datetime.datetime(2025, 3, 5, 15, 32, 59), 'result': '0.05965248373820704', 'result_long': None, 'result_double': None}] Qualite : 0.05965248373820704 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21069448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21069448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21069474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21069475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21069476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21069477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21069478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21069479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21069480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21069481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21069482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21069483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21069484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21069485, 'pht': 3726}}" where mtr_portfolio_id = 21069448 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21069448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258617, 0.05965248373820704, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21069448_05-03-2025_15_33_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21069474, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21069475, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21069476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21069477, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21069478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21069479, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21069480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21069481, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21069482, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21069483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21069484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21069485, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21070024 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638603, 'mtr_portfolio_id': 21070024, 'created_at': datetime.datetime(2025, 3, 5, 15, 48, 59), 'result': '0.07591529971904469', 'result_long': None, 'result_double': None}] Qualite : 0.07591529971904469 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21070024 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21070024 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070040, 'pht': 3726}}" where mtr_portfolio_id = 21070024 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21070024 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258618, 0.07591529971904469, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070024_05-03-2025_15_48_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070029, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070031, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070032, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070034, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070035, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070036, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070037, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070038, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070040, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21070737 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638644, 'mtr_portfolio_id': 21070737, 'created_at': datetime.datetime(2025, 3, 5, 16, 2, 59), 'result': '0.07333276762623131', 'result_long': None, 'result_double': None}] Qualite : 0.07333276762623131 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21070737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21070737 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070750, 'pht': 3726}}" where mtr_portfolio_id = 21070737 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21070737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258619, 0.07333276762623131, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21070737_05-03-2025_16_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21070739, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21070740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21070741, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21070742, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21070743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21070744, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21070745, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21070746, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21070747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21070748, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21070749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21070750, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21071260 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638701, 'mtr_portfolio_id': 21071260, 'created_at': datetime.datetime(2025, 3, 5, 16, 19, 1), 'result': '0.06036125755876414', 'result_long': None, 'result_double': None}] Qualite : 0.06036125755876414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21071260 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21071260 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21071329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21071330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21071331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21071332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21071333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21071334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21071335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21071336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21071337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21071338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21071339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21071340, 'pht': 3726}}" where mtr_portfolio_id = 21071260 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21071260 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258620, 0.06036125755876414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21071260_05-03-2025_16_19_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21071329, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21071330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21071331, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21071332, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21071333, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21071334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21071335, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21071336, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21071337, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21071338, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21071339, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21071340, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21072038 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638758, 'mtr_portfolio_id': 21072038, 'created_at': datetime.datetime(2025, 3, 5, 16, 33, 6), 'result': '0.07141917987258611', 'result_long': None, 'result_double': None}] Qualite : 0.07141917987258611 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21072038 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21072038 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21072052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072063, 'pht': 3726}}" where mtr_portfolio_id = 21072038 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21072038 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258621, 0.07141917987258611, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072038_05-03-2025_16_33_10.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21072052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072053, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072056, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072058, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072059, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072060, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072061, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072063, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21072747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2638887, 'mtr_portfolio_id': 21072747, 'created_at': datetime.datetime(2025, 3, 5, 16, 48, 29), 'result': '0.07377901151868069', 'result_long': None, 'result_double': None}] Qualite : 0.07377901151868069 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21072747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21072747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21072777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072787, 'pht': 3726}}" where mtr_portfolio_id = 21072747 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21072747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258622, 0.07377901151868069, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21072747_05-03-2025_16_48_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21072776, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21072777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21072778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21072779, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21072780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21072781, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21072782, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21072783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21072784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21072785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21072786, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21072787, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21073320 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639041, 'mtr_portfolio_id': 21073320, 'created_at': datetime.datetime(2025, 3, 6, 2, 57, 28), 'result': '0.06574955622477034', 'result_long': None, 'result_double': None}] Qualite : 0.06574955622477034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21073320 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21073320 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21073352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21073354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21073355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21073356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21073357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21073358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21073359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21073360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21073361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21073362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21073363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21073364, 'pht': 3726}}" where mtr_portfolio_id = 21073320 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21073320 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258623, 0.06574955622477034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21073320_06-03-2025_02_57_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21073352, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21073354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21073355, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21073356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21073357, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21073358, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21073359, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21073360, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21073361, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21073362, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21073363, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21073364, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21075474 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639393, 'mtr_portfolio_id': 21075474, 'created_at': datetime.datetime(2025, 3, 5, 18, 19, 1), 'result': '0.06436027731743602', 'result_long': None, 'result_double': None}] Qualite : 0.06436027731743602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21075474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21075474 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075489, 'pht': 3726}}" where mtr_portfolio_id = 21075474 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21075474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258624, 0.06436027731743602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075474_05-03-2025_18_19_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075478, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075481, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075483, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075484, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075485, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075487, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075489, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21075610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639405, 'mtr_portfolio_id': 21075610, 'created_at': datetime.datetime(2025, 3, 5, 18, 32, 58), 'result': '0.06284680166308601', 'result_long': None, 'result_double': None}] Qualite : 0.06284680166308601 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21075610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21075610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075629, 'pht': 3726}}" where mtr_portfolio_id = 21075610 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21075610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258625, 0.06284680166308601, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21075610_05-03-2025_18_32_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21075618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21075619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21075620, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21075621, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21075622, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21075623, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21075624, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21075625, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21075626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21075627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21075628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21075629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21076180 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639506, 'mtr_portfolio_id': 21076180, 'created_at': datetime.datetime(2025, 3, 5, 18, 48, 57), 'result': '0.06731815988572705', 'result_long': None, 'result_double': None}] Qualite : 0.06731815988572705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21076180 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21076180 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21076203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21076204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21076205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21076206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21076207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21076208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21076209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21076216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21076221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21076227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21076231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21076232, 'pht': 3726}}" where mtr_portfolio_id = 21076180 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21076180 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258626, 0.06731815988572705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21076180_05-03-2025_18_48_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21076203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21076204, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21076205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21076206, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21076207, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21076208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21076209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21076216, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21076221, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21076227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21076231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21076232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21077165 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639603, 'mtr_portfolio_id': 21077165, 'created_at': datetime.datetime(2025, 3, 5, 19, 2, 58), 'result': '0.0679929278519333', 'result_long': None, 'result_double': None}] Qualite : 0.0679929278519333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21077165 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21077165 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21077196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21077197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21077198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21077199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21077200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21077201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21077202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21077203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21077204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21077205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21077206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21077207, 'pht': 3726}}" where mtr_portfolio_id = 21077165 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21077165 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258627, 0.0679929278519333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077165_05-03-2025_19_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21077196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21077197, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21077198, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21077199, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21077200, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21077201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21077202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21077203, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21077204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21077205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21077206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21077207, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21077992 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639677, 'mtr_portfolio_id': 21077992, 'created_at': datetime.datetime(2025, 3, 5, 19, 18, 57), 'result': '0.059617310322047964', 'result_long': None, 'result_double': None}] Qualite : 0.059617310322047964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21077992 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21077992 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078030, 'pht': 3726}}" where mtr_portfolio_id = 21077992 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21077992 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258628, 0.059617310322047964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21077992_05-03-2025_19_18_57.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078019, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078020, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078022, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078027, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078029, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078030, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21078591 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639717, 'mtr_portfolio_id': 21078591, 'created_at': datetime.datetime(2025, 3, 5, 19, 32, 59), 'result': '0.05328941950161473', 'result_long': None, 'result_double': None}] Qualite : 0.05328941950161473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21078591 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21078591 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078705, 'pht': 3726}}" where mtr_portfolio_id = 21078591 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21078591 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258629, 0.05328941950161473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21078591_05-03-2025_19_32_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21078694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21078695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21078696, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21078697, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21078698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21078699, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21078700, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21078701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21078702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21078703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21078704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21078705, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21079365 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639767, 'mtr_portfolio_id': 21079365, 'created_at': datetime.datetime(2025, 3, 5, 19, 48, 59), 'result': '0.08088274701983163', 'result_long': None, 'result_double': None}] Qualite : 0.08088274701983163 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21079365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21079365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21079394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21079395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21079396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21079397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21079398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21079399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21079400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21079401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21079402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21079403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21079404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21079405, 'pht': 3726}}" where mtr_portfolio_id = 21079365 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21079365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258630, 0.08088274701983163, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21079365_05-03-2025_19_49_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21079394, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21079395, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21079396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21079397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21079398, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21079399, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21079400, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21079401, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21079402, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21079403, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21079404, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21079405, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21080175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639822, 'mtr_portfolio_id': 21080175, 'created_at': datetime.datetime(2025, 3, 5, 20, 3), 'result': '0.060593821141357154', 'result_long': None, 'result_double': None}] Qualite : 0.060593821141357154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21080175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21080175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21080229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21080231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080240, 'pht': 3726}}" where mtr_portfolio_id = 21080175 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21080175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258631, 0.060593821141357154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080175_05-03-2025_20_03_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21080229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21080231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080232, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080235, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080237, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21080934 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639881, 'mtr_portfolio_id': 21080934, 'created_at': datetime.datetime(2025, 3, 5, 20, 18, 59), 'result': '0.08563369889154372', 'result_long': None, 'result_double': None}] Qualite : 0.08563369889154372 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21080934 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21080934 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21080965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21080968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080976, 'pht': 3726}}" where mtr_portfolio_id = 21080934 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21080934 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258632, 0.08563369889154372, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21080934_05-03-2025_20_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21080965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21080966, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21080967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21080968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21080969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21080970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21080971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21080972, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21080973, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21080974, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21080975, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21080976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21081691 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2639940, 'mtr_portfolio_id': 21081691, 'created_at': datetime.datetime(2025, 3, 5, 20, 32, 58), 'result': '0.07571967147845388', 'result_long': None, 'result_double': None}] Qualite : 0.07571967147845388 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21081691 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21081691 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21081721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21081722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21081723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21081724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21081725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21081726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21081727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21081729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21081730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21081731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21081732, 'pht': 3726}}" where mtr_portfolio_id = 21081691 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21081691 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258633, 0.07571967147845388, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21081691_05-03-2025_20_32_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21081721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21081722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21081723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21081724, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21081725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21081726, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21081727, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21081728, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21081729, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21081730, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21081731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21081732, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21082457 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640001, 'mtr_portfolio_id': 21082457, 'created_at': datetime.datetime(2025, 3, 5, 21, 6, 59), 'result': '0.07835976642026872', 'result_long': None, 'result_double': None}] Qualite : 0.07835976642026872 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21082457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21082457 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21082486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21082487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21082488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21082489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21082490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21082491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21082492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21082493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21082494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21082495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21082496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21082497, 'pht': 3726}}" where mtr_portfolio_id = 21082457 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21082457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258634, 0.07835976642026872, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21082457_05-03-2025_21_07_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21082486, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21082487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21082488, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21082489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21082490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21082491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21082492, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21082493, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21082494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21082495, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21082496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21082497, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21084766 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640236, 'mtr_portfolio_id': 21084766, 'created_at': datetime.datetime(2025, 3, 5, 22, 18, 59), 'result': '0.07269051654850082', 'result_long': None, 'result_double': None}] Qualite : 0.07269051654850082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21084766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21084766 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21084769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21084770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21084771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21084772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21084773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21084774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21084775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21084776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21084777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21084778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21084779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21084780, 'pht': 3726}}" where mtr_portfolio_id = 21084766 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21084766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258635, 0.07269051654850082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21084766_05-03-2025_22_19_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21084769, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21084770, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21084771, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21084772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21084773, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21084774, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21084775, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21084776, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21084777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21084778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21084779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21084780, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21085217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640266, 'mtr_portfolio_id': 21085217, 'created_at': datetime.datetime(2025, 3, 5, 22, 33), 'result': '0.060387601678147544', 'result_long': None, 'result_double': None}] Qualite : 0.060387601678147544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21085217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21085217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21085224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085230, 'pht': 3726}}" where mtr_portfolio_id = 21085217 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21085217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258636, 0.060387601678147544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085217_05-03-2025_22_33_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085219, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085221, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085223, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21085224, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085225, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085226, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085227, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085228, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085230, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21085748 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640304, 'mtr_portfolio_id': 21085748, 'created_at': datetime.datetime(2025, 3, 5, 22, 48, 58), 'result': '0.08035254064291698', 'result_long': None, 'result_double': None}] Qualite : 0.08035254064291698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21085748 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21085748 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21085767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085778, 'pht': 3726}}" where mtr_portfolio_id = 21085748 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21085748 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258637, 0.08035254064291698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21085748_05-03-2025_22_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21085767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21085768, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21085769, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21085770, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21085771, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21085772, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21085773, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21085774, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21085775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21085776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21085777, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21085778, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21086544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640342, 'mtr_portfolio_id': 21086544, 'created_at': datetime.datetime(2025, 3, 5, 23, 2, 59), 'result': '0.0791736352194325', 'result_long': None, 'result_double': None}] Qualite : 0.0791736352194325 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21086544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21086544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21086547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21086548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21086549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21086550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21086551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21086552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21086553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21086554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21086555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21086556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21086557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21086558, 'pht': 3726}}" where mtr_portfolio_id = 21086544 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21086544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258638, 0.0791736352194325, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21086544_05-03-2025_23_02_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21086547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21086548, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21086549, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21086550, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21086551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21086552, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21086553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21086554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21086555, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21086556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21086557, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21086558, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21087063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640388, 'mtr_portfolio_id': 21087063, 'created_at': datetime.datetime(2025, 3, 5, 23, 19, 1), 'result': '0.07813079806271399', 'result_long': None, 'result_double': None}] Qualite : 0.07813079806271399 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21087063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21087063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21087075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087080, 'pht': 3726}}" where mtr_portfolio_id = 21087063 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21087063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258639, 0.07813079806271399, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087063_05-03-2025_23_19_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087069, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087070, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087071, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087073, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21087075, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087076, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087079, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087080, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21087662 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640424, 'mtr_portfolio_id': 21087662, 'created_at': datetime.datetime(2025, 3, 5, 23, 32, 59), 'result': '0.08249981298839032', 'result_long': None, 'result_double': None}] Qualite : 0.08249981298839032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21087662 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21087662 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21087664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087675, 'pht': 3726}}" where mtr_portfolio_id = 21087662 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21087662 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258640, 0.08249981298839032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21087662_05-03-2025_23_33_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21087664, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21087665, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21087666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21087667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21087668, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21087669, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21087670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21087671, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21087672, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21087673, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21087674, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21087675, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21088194 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640459, 'mtr_portfolio_id': 21088194, 'created_at': datetime.datetime(2025, 3, 5, 23, 48, 59), 'result': '0.06708797549748412', 'result_long': None, 'result_double': None}] Qualite : 0.06708797549748412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21088194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21088194 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21088252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088263, 'pht': 3726}}" where mtr_portfolio_id = 21088194 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21088194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258641, 0.06708797549748412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088194_05-03-2025_23_48_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21088252, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088253, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088254, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088255, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088257, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088258, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088260, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088262, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21088687 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2640499, 'mtr_portfolio_id': 21088687, 'created_at': datetime.datetime(2025, 3, 6, 2, 57, 59), 'result': '0.07429228461832431', 'result_long': None, 'result_double': None}] Qualite : 0.07429228461832431 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21088687 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21088687 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21088726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088728, 'pht': 3726}}" where mtr_portfolio_id = 21088687 and dashboard_run_id = 1651215 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21088687 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9258642, 0.07429228461832431, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21088687_06-03-2025_02_58_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21088717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21088718, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21088719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21088720, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21088721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21088722, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21088723, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21088724, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21088725, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21088726, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21088727, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21088728, '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 (21033425,21033980,21034713,21035092,21036224,21036613,21037191,21037712,21038145,21038910,21039790,21040497,21041140,21042325,21042685,21043129,21044125,21044494,21045283,21045913,21046524,21047038,21047744,21048689,21049193,21049512,21050173,21051281,21051425,21052316,21054980,21055376,21055994,21056557,21057093,21057791,21058601,21059569,21060521,21061213,21061831,21062550,21063507,21064890,21065329,21065887,21066213,21066761,21067346,21068092,21068851,21069448,21070024,21070737,21071260,21072038,21072747,21073320,21075474,21075610,21076180,21077165,21077992,21078591,21079365,21080175,21080934,21081691,21082457,21084766,21085217,21085748,21086544,21087063,21087662,21088194,21088687) result : ((1340897806,), (1340897812,), (1340897857,), (1340897862,), (1340897866,), (1340897872,), (1340897885,), (1340897890,), (1340898252,), (1340898396,), (1340898400,), (1340898405,), (1340898410,), (1340898532,), (1340898538,), (1340898541,), (1340898547,), (1340898611,), (1340898616,), (1340898619,), (1340898784,), (1340898790,), (1340898797,), (1340898847,), (1340898850,), (1340898859,), (1340898862,), (1340898864,), (1340898889,), (1340898894,), (1340898899,), (1340898904,), (1340898935,), (1340898981,), (1340899215,), (1340899220,), (1340899223,), (1340899229,), (1340899233,), (1340899259,), (1340899265,), (1340899268,), (1340899272,), (1340899338,), (1340899344,), (1340899348,), (1340899352,), (1340899356,), (1340899445,), (1340899458,), (1340899470,), (1340899482,), (1340899505,), (1340899533,), (1340899539,), (1340899543,), (1340899548,), (1340899553,), (1340899738,), (1340899743,), (1340900187,), (1340899899,), (1340900178,), (1340900183,), (1340900274,), (1340900277,), (1340900435,), (1340900494,), (1340900509,), (1340900542,), (1340900635,), (1340900645,), (1340900654,), (1340900658,), (1340900662,), (1340900714,), (1340900718,), (1340900724,), (1340900731,), (1340900842,), (1340900907,), (1340900909,), (1340900917,), (1340900922,), (1340900943,), (1340900947,), (1340900950,), (1340901210,), (1340901233,), (1340901240,), (1340901276,), (1340901300,), (1340901321,), (1340901363,), (1340901366,), (1340901370,), (1340901376,), (1340901412,), (1340901417,), (1340901422,), (1340901472,), (1340901484,), (1340901488,), (1340901696,), (1340901931,), (1340901935,), (1340901940,), (1340903153,), (1340902831,), (1340903106,), (1340903114,), (1340903123,), (1340903137,), (1340903232,), (1340903243,), (1340903257,), (1340903261,), (1340903265,), (1340903285,), (1340903288,), (1340903294,), (1340903313,), (1340903381,), (1340903384,), (1340903643,), (1340903651,), (1340903656,), (1340903765,), (1340903769,), (1340903775,), (1340903780,), (1340903783,), (1340903858,), (1340904030,), (1340904092,), (1340904105,), (1340904316,), (1340904353,), (1340904358,), (1340904362,), (1340904365,), (1340904368,), (1340904430,), (1340904396,), (1340904402,), (1340904407,), (1340904412,), (1340904421,), (1340904725,), (1340904731,), (1340904735,), (1340904740,), (1340904742,), (1340904801,), (1340904807,), (1340904815,), (1340904843,), (1340904847,), (1340904850,), (1340904856,), (1340904860,), (1340904984,), (1340904988,), (1340904993,), (1340905027,), (1340905031,), (1340905035,), (1340905040,), (1340905091,), (1340905094,), (1340905098,), (1340905104,), (1340905109,), (1340905133,), (1340905138,), (1340905142,), (1340905147,), (1340905212,), (1340905216,), (1340905223,), (1340905290,), (1340905295,), (1340905299,), (1340905342,), (1340905344,), (1340905348,), (1340905355,), (1340905360,), (1340905396,), (1340905399,), (1340905405,), (1340905439,), (1340905443,), (1340905520,), (1340905528,), (1340905559,), (1340905632,), (1340905691,), (1340910003,), (1340910006,), (1340910306,), (1340910352,), (1340910356,), (1340910378,), (1340910383,), (1340910445,), (1340910481,), (1340910484,), (1340910486,), (1340910800,), (1340910804,), (1340910806,), (1340910811,), (1340910842,), (1340910854,), (1340910860,), (1340910893,), (1340911011,), (1340911476,), (1340911478,), (1340911508,), (1340911534,), (1340911536,), (1340911684,), (1340911615,), (1340911655,), (1340911657,), (1340911661,), (1340912014,), (1340912031,), (1340912068,), (1340912074,), (1340912106,), (1340912185,), (1340912345,), (1340912352,), (1340912354,), (1340912385,), (1340912386,), (1340912388,), (1340912392,), (1340912492,), (1340912595,), (1340912597,), (1340912599,), (1340912603,), (1340912630,), (1340912693,), (1340912751,), (1340912752,), (1340912754,), (1340912775,), (1340912779,), (1340912784,), (1340912885,), (1340912889,), (1340912894,), (1340912901,), (1340913014,), (1340913017,), (1340913019,), (1340913023,), (1340913027,), (1340913061,), (1340913139,), (1340913141,), (1340913143,), (1340913194,), (1340913199,), (1340913247,), (1340913250,), (1340913252,), (1340913255,), (1340913283,), (1340913286,), (1340913288,), (1340913292,), (1340913296,), (1340913299,), (1340913512,), (1340913515,), (1340913523,), (1340913531,), (1340913666,), (1340913668,), (1340913840,), (1340913845,), (1340913847,), (1340913849,), (1340913851,), (1340913852,), (1340913881,), (1340913869,), (1340913872,), (1340913874,), (1340913878,), (1340913894,), (1340913896,), (1340913898,), (1340913902,), (1340914015,), (1340914243,), (1340914248,), (1340914256,), (1340914378,), (1340914391,), (1340914394,), (1340914398,), (1340914411,), (1340914414,), (1340914420,), (1340914423,), (1340914660,), (1340914664,), (1340914667,), (1340914673,), (1340914711,), (1340914714,), (1340914848,), (1340914851,), (1340914854,), (1340914862,), (1340914873,), (1340914884,), (1340914887,), (1340914891,), (1340914895,), (1340914898,), (1340914901,), (1340914935,), (1340914939,), (1340914942,), (1340914994,), (1340915034,), (1340915036,), (1340915050,), (1340915055,), (1340915060,), (1340915119,), (1340915124,), (1340915128,), (1340915132,), (1340915135,), (1340915138,), (1340915209,), (1340915212,), (1340915215,), (1340915220,), (1340915240,), (1340915244,), (1340915247,), (1340915265,), (1340915272,), (1340915274,), (1340915276,), (1340915280,), (1340915283,), (1340915316,), (1340915294,), (1340915303,), (1340915306,), (1340915309,), (1340915427,), (1340915462,), (1340915484,), (1340915554,), (1340915713,), (1340915717,), (1340915841,), (1340915844,), (1340915921,), (1340915924,), (1340915928,), (1340915975,), (1340915978,), (1340916007,), (1340916009,), (1340916018,), (1340916030,), (1340916060,), (1340916069,), (1340916083,), (1340916094,), (1340916112,), (1340916135,), (1340916202,), (1340916273,), (1340916341,), (1340916421,), (1340916715,), (1340916733,), (1340916754,), (1340916757,), (1340916760,), (1340916765,), (1340916780,), (1340916783,), (1340916785,), (1340916855,), (1340916858,), (1340916890,), (1340916913,), (1340916916,), (1340916920,), (1340916988,), (1340916991,), (1340916995,), (1340917058,), (1340917061,), (1340917064,), (1340917068,), (1340917072,), (1340917146,), (1340917128,), (1340917131,), (1340917135,), (1340917139,), (1340917144,), (1340917157,), (1340917160,), (1340917163,), (1340917167,), (1340917171,), (1340917357,), (1340917363,), (1340917375,), (1340917411,), (1340917414,), (1340917417,), (1340917423,), (1340917427,), (1340917937,), (1340917941,), (1340917960,), (1340918056,), (1340918142,), (1340918145,), (1340918148,), (1340918160,), (1340918175,), (1340918179,), (1340918183,), (1340918185,), (1340918216,), (1340918219,), (1340918236,), (1340918239,), (1340918309,), (1340918555,), (1340918558,), (1340918565,), (1340918720,), (1340918728,), (1340918755,), (1340918830,), (1340918843,), (1340918847,), (1340918850,), (1340918852,), (1340918859,), (1340918866,), (1340918869,), (1340918888,), (1340918891,), (1340918893,), (1340918896,), (1340918898,), (1340918921,), (1340918924,), (1340918928,), (1340918936,), (1340918942,), (1340919092,), (1340918999,), (1340919021,), (1340919026,), (1340919049,), (1340919083,), (1340919155,), (1340919196,), (1340919243,), (1340919248,), (1340919745,), (1340919757,), (1340919912,), (1340919937,), (1340919938,), (1340919967,), (1340920003,), (1340920005,), (1340920010,), (1340920014,), (1340920024,), (1340920049,), (1340920051,), (1340920109,), (1340920373,), (1340920376,), (1340920554,), (1340920581,), (1340920603,), (1340920613,), (1340920621,), (1340920670,), (1340920675,), (1340920680,), (1340920703,), (1340920706,), (1340920762,), (1340920773,), (1340920789,), (1340920795,), (1340920802,), (1340920948,), (1340920951,), (1340920956,), (1340920959,), (1340920961,), (1340920962,), (1340920970,), (1340920978,), (1340921019,), (1340920989,), (1340921012,), (1340921015,), (1340921018,), (1340921166,), (1340921170,), (1340921177,), (1340921182,), (1340921263,), (1340921266,), (1340921268,), (1340921282,), (1340921286,), (1340921288,), (1340921315,), (1340921332,), (1340921343,), (1340921346,), (1340921350,), (1340921352,), (1340921372,), (1340921377,), (1340921379,), (1340921382,), (1340921415,), (1340921453,), (1340921457,), (1340921461,), (1340921481,), (1340921484,), (1340921590,), (1340921605,), (1340921611,), (1340921616,), (1340921646,), (1340921649,), (1340921659,), (1340921674,), (1340921714,), (1340921726,), (1340921737,), (1340921751,), (1340921754,), (1340921826,), (1340921834,), (1340921838,), (1340921841,), (1340921844,), (1340921846,), (1340921867,), (1340921877,), (1340921888,), (1340921899,), (1340921925,), (1340921928,), (1340921930,), (1340922035,), (1340922040,), (1340922044,), (1340922049,), (1340922057,), (1340922063,), (1340922072,), (1340922076,), (1340922081,), (1340922083,), (1340922086,), (1340922215,), (1340922221,), (1340922224,), (1340922227,), (1340922388,), (1340922267,), (1340922274,), (1340922338,), (1340922378,), (1340922465,), (1340922468,), (1340922471,), (1340922484,), (1340922489,), (1340922497,), (1340922561,), (1340922563,), (1340922566,), (1340922606,), (1340922616,), (1340922663,), (1340922669,), (1340922673,), (1340922684,), (1340922736,), (1340922739,), (1340922743,), (1340922748,), (1340922753,), (1340922784,), (1340922786,), (1340922863,), (1340922923,), (1340922929,), (1340922937,), (1340922946,), (1340922954,), (1340922957,), (1340922966,), (1340922967,), (1340922971,), (1340922975,), (1340922979,), (1340923024,), (1340923027,), (1340923031,), (1340923053,), (1340923054,), (1340923056,), (1340923060,), (1340923064,), (1340923090,), (1340923093,), (1340923099,), (1340923106,), (1340923123,), (1340923159,), (1340923161,), (1340923162,), (1340923165,), (1340923168,), (1340923301,), (1340923306,), (1340923371,), (1340923373,), (1340923380,), (1340923428,), (1340923442,), (1340923452,), (1340923459,), (1340923468,), (1340923471,), (1340923473,), (1340923519,), (1340923502,), (1340923505,), (1340923509,), (1340923513,), (1340923534,), (1340923537,), (1340923539,), (1340923642,), (1340923645,), (1340923646,), (1340923649,), (1340924069,), (1340924078,), (1340924095,), (1340924103,), (1340924106,), (1340924117,), (1340924120,), (1340924123,), (1340924196,), (1340924205,), (1340924208,), (1340924212,), (1340924216,), (1340924323,), (1340924326,), (1340924329,), (1340924332,), (1340924354,), (1340924357,), (1340924373,), (1340924376,), (1340924378,), (1340924383,), (1340924506,), (1340924509,), (1340924644,), (1340924654,), (1340924658,), (1340924816,), (1340924819,), (1340924883,), (1340924885,), (1340924887,), (1340924921,), (1340924923,), (1340924925,), (1340924933,), (1340924962,), (1340927938,), (1340927750,), (1340927888,), (1340927891,), (1340928061,), (1340928069,), (1340928080,), (1340928084,), (1340928088,), (1340928233,), (1340928262,), (1340928342,), (1340928345,), (1340928349,), (1340928402,), (1340928406,), (1340928438,), (1340928457,), (1340928479,), (1340928528,), (1340928532,), (1340928537,), (1340928543,), (1340928577,), (1340928659,), (1340928668,), (1340928671,), (1340928676,), (1340928685,), (1340928699,), (1340928743,), (1340928747,), (1340928749,), (1340928754,), (1340930153,), (1340930141,), (1340930145,), (1340930149,), (1340930331,), (1340930344,), (1340930350,), (1340930354,), (1340930358,), (1340930441,), (1340930481,), (1340930494,), (1340930502,), (1340930505,), (1340930535,), (1340930542,), (1340930552,), (1340930563,), (1340930589,), (1340930590,), (1340930592,), (1340930741,), (1340930743,), (1340930763,), (1340930770,), (1340930853,), (1340930856,), (1340930858,), (1340930863,), (1340930868,), (1340930892,), (1340930896,), (1340930900,), (1340930911,), (1340930916,), (1340930919,), (1340930961,), (1340930964,), (1340930970,), (1340931009,), (1340931013,), (1340931017,), (1340931021,), (1340931108,), (1340931068,), (1340931073,), (1340931078,), (1340931081,), (1340931105,), (1340931206,), (1340931244,), (1340931249,), (1340931253,), (1340931275,), (1340931278,), (1340931281,), (1340931313,), (1340931315,), (1340931713,), (1340931782,), (1340931788,), (1340931793,), (1340932459,), (1340932465,), (1340932509,), (1340932517,), (1340932522,), (1340932524,), (1340932541,), (1340932551,), (1340932557,), (1340932641,), (1340932648,), (1340932652,), (1340932744,), (1340932748,), (1340932751,), (1340932755,), (1340932758,), (1340932781,), (1340932797,), (1340932804,), (1340932807,), (1340932824,), (1340936307,), (1340936302,), (1340936395,), (1340936401,), (1340936972,), (1340936976,), (1340937118,), (1340937151,), (1340937341,), (1340937353,), (1340937364,), (1340937383,), (1340937388,), (1340937408,), (1340937415,), (1340937426,), (1340937518,), (1340937524,), (1340937530,), (1340937546,), (1340937550,), (1340937558,), (1340937565,), (1340937569,), (1340937572,), (1340937586,), (1340937591,), (1340937595,), (1340937601,), (1340937606,), (1340937678,), (1340937681,), (1340937725,), (1340937727,), (1340937754,), (1340937757,), (1340937759,), (1340937782,), (1340937785,), (1340937790,), (1340937797,), (1340937806,), (1340937820,), (1340938142,), (1340938109,), (1340938112,), (1340938125,), (1340938130,), (1340938174,), (1340938176,), (1340938191,), (1340938337,), (1340938375,), (1340938387,), (1340938391,), (1340938396,), (1340938399,), (1340938415,), (1340938421,), (1340938427,), (1340938432,), (1340938437,), (1340938487,), (1340938490,), (1340938498,), (1340938504,), (1340938511,), (1340938534,), (1340938662,), (1340938841,), (1340938977,), (1340939328,), (1340939332,), (1340939365,), (1340939419,), (1340939501,), (1340939627,), (1340939629,), (1340939631,), (1340939637,), (1340939643,), (1340939672,), (1340939676,), (1340939680,), (1340939686,), (1340939691,), (1340939702,), (1340939704,), (1340939710,), (1340939722,), (1340939730,), (1340940102,), (1340940139,), (1340940147,), (1340940156,), (1340940307,), (1340940367,), (1340940377,), (1340940383,), (1340940388,), (1340940393,), (1340940654,), (1340940657,), (1340940661,), (1340940686,), (1340940691,), (1340940695,), (1340940765,), (1340940767,), (1340940787,), (1340940793,), (1340940844,), (1340940851,), (1340940853,), (1340940858,), (1340940863,), (1340940869,), (1340940905,), (1340940888,), (1340940892,), (1340940900,), (1340940968,), (1340940979,), (1340940983,), (1340940989,), (1340940995,), (1340940999,), (1340941374,), (1340941405,), (1340941409,), (1340941457,), (1340941467,), (1340941475,), (1340941517,), (1340941519,), (1340941525,), (1340941535,), (1340941561,), (1340941565,), (1340941579,), (1340941583,), (1340941589,), (1340941599,), (1340941941,), (1340941965,), (1340941972,), (1340942005,), (1340942041,), (1340942048,), (1340942116,), (1340942121,), (1340942123,), (1340942297,), (1340942311,), (1340942316,), (1340942325,), (1340942338,), (1340942351,), (1340942406,), (1340942408,), (1340942409,), (1340942416,), (1340942443,), (1340942445,), (1340942447,), (1340942456,), (1340942465,), (1340942470,), (1340942482,), (1340942483,), (1340942489,), (1340942495,), (1340942500,), (1340942523,), (1340942532,), (1340942538,), (1340942544,), (1340942628,), (1340942635,), (1340942637,), (1340942643,), (1340942648,), (1340942652,), (1340942846,), (1340942869,), (1340942876,), (1340942882,), (1340942912,), (1340942928,), (1340943024,), (1340943027,), (1340943032,), (1340943231,), (1340943053,), (1340943055,), (1340943122,), (1340943196,), (1340943212,), (1340943287,), (1340943304,), (1340943328,), (1340943346,), (1340943509,), (1340943511,), (1340943514,), (1340943521,), (1340943550,), (1340943552,), (1340943554,), (1340943562,), (1340943576,), (1340943587,), (1340943618,), (1340943629,), (1340943633,), (1340943644,), (1340943682,), (1340943790,), (1340943797,), (1340943800,), (1340943805,), (1340943944,), (1340943947,), (1340943954,), (1340943966,), (1340943977,), (1340943989,), (1340944086,), (1340944118,), (1340944195,), (1340944300,), (1340944321,), (1340944324,), (1340944329,), (1340944344,), (1340944348,), (1340944392,), (1340944395,), (1340944397,), (1340944447,), (1340944453,), (1340944520,), (1340944523,), (1340944532,), (1340944547,), (1340944572,), (1340944575,), (1340944580,), (1340944586,), (1340944596,), (1340944693,), (1340944695,), (1340944697,), (1340944701,), (1340944705,), (1340944767,), (1340944771,), (1340944777,), (1340944779,), (1340945527,), (1340945495,), (1340945523,), (1340945525,), (1340945544,), (1340945546,), (1340945617,), (1340945618,), (1340945723,), (1340945863,), (1340945973,), (1340945981,), (1340945985,), (1340945988,), (1340945992,), (1340946003,), (1340946006,), (1340946010,), (1340946014,), (1340946018,), (1340946072,), (1340946075,), (1340946083,), (1340946088,), (1340946093,), (1340946096,), (1340946249,), (1340946252,), (1340946253,), (1340946289,), (1340946292,), (1340946294,), (1340946298,), (1340946302,), (1340946305,), (1340946325,), (1340946329,), (1340946332,), (1340946337,), (1340946341,), (1340946360,), (1340946361,), (1340946364,), (1340946370,), (1340946666,), (1340946668,), (1340946671,), (1340946679,), (1340946684,), (1340946687,), (1340946779,), (1340946807,), (1340946845,), (1340946859,), (1340946863,), (1340946937,), (1340946940,), (1340946945,), (1340946958,), (1340947031,), (1340947035,), (1340947038,), (1340947123,), (1340947113,), (1340947114,), (1340947115,), (1340947119,), (1340947334,), (1340947340,), (1340947348,), (1340947353,), (1340947357,), (1340947361,), (1340947451,), (1340947453,), (1340947455,), (1340947550,), (1340947553,), (1340947555,), (1340947560,), (1340947585,), (1340947588,), (1340947590,), (1340947595,), (1340947599,), (1340947603,), (1340947619,), (1340947637,), (1340947712,), (1340947740,), (1340947763,), (1340947781,), (1340947800,), (1340947822,), (1340947825,), (1340947845,), (1340947849,), (1340947852,), (1340947855,), (1340947859,), (1340947866,), (1340947880,), (1340947884,), (1340947886,), (1340947891,), (1340947894,), (1340947897,), (1340948809,), (1340948806,), (1340948962,), (1340948971,), (1340948976,), (1340948980,), (1340949039,), (1340949178,), (1340949426,), (1340949431,), (1340949441,), (1340949474,), (1340949482,), (1340949487,), (1340949495,), (1340949538,), (1340949541,), (1340949544,), (1340949549,), (1340949560,), (1340949594,), (1340949596,), (1340949605,), (1340949614,), (1340949617,), (1340949622,), (1340949658,), (1340949659,), (1340949662,), (1340949671,), (1340949703,), (1340949734,), (1340949752,), (1340949795,), (1340949800,), (1340949814,), (1340950033,), (1340950061,), (1340950131,), (1340950150,), (1340950167,), (1340950231,), (1340950236,), (1340950238,), (1340950242,), (1340950286,), (1340950289,), (1340950295,), (1340950307,), (1340950316,), (1340950401,), (1340950415,), (1340950563,), (1340951026,), (1340951022,), (1340951024,), (1340951151,), (1340951155,), (1340951183,), (1340951185,), (1340951187,), (1340951210,), (1340951213,), (1340951217,), (1340951222,), (1340951225,), (1340951228,), (1340951251,), (1340951255,), (1340951256,), (1340951259,), (1340951262,), (1340951278,), (1340951281,), (1340951294,), (1340951320,), (1340951329,), (1340951333,), (1340951337,), (1340951338,), (1340951340,), (1340951370,), (1340951376,), (1340951380,), (1340951384,), (1340951387,), (1340951403,), (1340951417,), (1340951430,), (1340951434,), (1340951437,), (1340951580,), (1340951640,), (1340951703,), (1340951721,), (1340951729,), (1340951732,), (1340951761,), (1340951764,), (1340951766,), (1340951803,), (1340951932,), (1340951940,), (1340951943,), (1340951956,), (1340951962,), (1340951963,), (1340951965,), (1340951966,), (1340951969,), (1340951970,), (1340951972,), (1340951973,), (1340951997,), (1340951986,), (1340951990,), (1340951994,), (1340952217,), (1340952226,), (1340952229,), (1340952233,), (1340952237,), (1340952298,), (1340952301,), (1340952304,), (1340952309,), (1340952312,), (1340952747,), (1340952750,), (1340952793,), (1340952796,), (1340952800,), (1340952884,), (1340952910,), (1340952913,), (1340952919,), (1340953096,), (1340953343,), (1340953350,), (1340953358,), (1340953368,), (1340953378,), (1340953383,), (1340953409,), (1340953414,), (1340953426,), (1340953436,), (1340953440,), (1340953443,), (1340953449,), (1340953455,), (1340953484,), (1340953485,), (1340953503,), (1340953397,), (1340953400,), (1340953402,), (1340953404,), (1340953470,), (1340953475,), (1340953480,), (1340953482,), (1340953533,), (1340953537,), (1340953541,), (1340953544,), (1340953555,), (1340953563,), (1340953589,), (1340953590,), (1340953597,), (1340953602,), (1340953607,), (1340953638,), (1340953655,), (1340953666,), (1340953670,), (1340953674,), (1340953678,), (1340953704,), (1340953706,), (1340953709,), (1340953714,), (1340953748,), (1340953751,), (1340953759,), (1340953764,), (1340953781,), (1340953786,), (1340953797,), (1340953802,), (1340953808,), (1340953815,), (1340953822,), (1340953837,), (1340953985,), (1340954026,), (1340954036,), (1340954049,), (1340954147,), (1340954151,), (1340954157,), (1340954165,), (1340954168,), (1340954207,), (1340954216,), (1340954285,), (1340954345,), (1340954373,), (1340954831,), (1340954842,), (1340954858,), (1340954867,), (1340954879,), (1340954996,), (1340955000,), (1340955003,), (1340955008,), (1340955013,), (1340955017,), (1340955037,), (1340955042,), (1340955046,), (1340955052,), (1340955058,), (1340955106,), (1340955119,), (1340955128,), (1340955131,), (1340955137,), (1340955139,), (1340955185,), (1340955165,), (1340955169,), (1340955174,), (1340955180,), (1340955376,), (1340955392,), (1340955398,), (1340955410,), (1340955415,), (1340955420,), (1340955450,), (1340955492,), (1340955511,), (1340955517,), (1340955521,), (1340956001,), (1340956009,), (1340956018,), (1340956087,), (1340956145,), (1340956155,), (1340956369,), (1340956388,), (1340956393,), (1340956402,), (1340956407,), (1340956465,), (1340956477,), (1340956480,), (1340956486,), (1340956493,), (1340956496,), (1340956513,), (1340956525,), (1340956529,), (1340956535,), (1340956594,), (1340956616,), (1340956627,), (1340956650,), (1340956654,), (1340956658,), (1340956783,), (1340956786,), (1340956790,), (1340956796,), (1340956803,), (1340956884,), (1340956889,), (1340956894,), (1340956900,), (1340956970,), (1340956977,), (1340956983,), (1340957008,), (1340957012,), (1340957102,), (1340957105,), (1340957108,), (1340957120,), (1340957181,), (1340957273,), (1340957283,), (1340957295,), (1340957306,), (1340957469,), (1340957488,), (1340957492,), (1340957494,), (1340957530,), (1340957536,), (1340957540,), (1340957545,), (1340957550,), (1340957553,), (1340958882,), (1340958839,), (1340959114,), (1340959172,), (1340959178,), (1340959186,), (1340959203,), (1340959249,), (1340959366,), (1340959371,), (1340959376,), (1340959408,), (1340959412,), (1340959417,), (1340959421,), (1340959426,), (1340959517,), (1340959524,), (1340959531,), (1340959538,), (1340959541,), (1340959890,), (1340959869,), (1340959878,), (1340959882,), (1340959886,), (1340960087,), (1340960095,), (1340960100,), (1340960138,), (1340960144,), (1340960150,), (1340960158,), (1340960163,), (1340960165,), (1340960364,), (1340960375,), (1340960390,), (1340960399,), (1340960415,), (1340960421,), (1340960444,), (1340960450,), (1340960457,), (1340960542,), (1340960547,), (1340960551,), (1340960556,), (1340960567,), (1340960579,), (1340960724,), (1340960729,), (1340960765,), (1340960886,), (1340960955,), (1340961657,), (1340961801,), (1340961833,), (1340962082,), (1340962156,), (1340962175,), (1340962232,), (1340962236,), (1340962240,), (1340962497,), (1340962509,), (1340962515,), (1340962521,), (1340962524,), (1340962542,), (1340962549,), (1340962554,), (1340962566,), (1340962629,), (1340962640,), (1340962644,), (1340962658,), (1340962667,), (1340962672,), (1340962919,), (1340962936,), (1340962954,), (1340962992,), (1340963013,), (1340963120,), (1340963123,), (1340963126,), (1340963132,), (1340963137,), (1340963160,), (1340963165,), (1340963307,), (1340963249,), (1340963254,), (1340963299,), (1340963303,), (1340963305,), (1340963491,), (1340963665,), (1340964165,), (1340964225,), (1340964234,), (1340964243,), (1340964305,), (1340964346,), (1340964359,), (1340964366,), (1340964379,), (1340964576,), (1340964586,), (1340964609,), (1340964670,), (1340964677,), (1340964705,), (1340964709,), (1340964732,), (1340964776,), (1340964800,), (1340964907,), (1340964933,), (1340964945,), (1340964984,), (1340965147,), (1340965203,), (1340965230,), (1340965264,), (1340965292,), (1340965313,), (1340965354,), (1340965379,), (1340965381,), (1340965413,), (1340965429,), (1340965473,), (1340965513,), (1340965548,), (1340965567,), (1340965591,), (1340965593,), (1340965598,), (1340965607,), (1340965662,), (1340965717,), (1340965752,), (1340965868,), (1340965887,), (1340965913,), (1340965918,), (1340965926,), (1340965942,), (1340976257,), (1340976277,), (1340976284,), (1340976417,), (1340976427,), (1340976452,), (1340977170,), (1340977425,), (1340977447,), (1340977472,), (1340977484,), (1340977489,), (1340977491,), (1340977635,), (1340977644,), (1340977649,), (1340977657,), (1340977693,), (1340977734,), (1340977739,), (1340977743,), (1340977747,), (1340977752,), (1340977756,), (1340977774,), (1340977778,), (1340977811,), (1340977822,), (1340977826,), (1340977833,), (1340977841,), (1340977849,), (1340977867,), (1340977871,), (1340977882,), (1340977893,), (1340977931,), (1340977938,), (1340977942,), (1340977950,), (1340978019,), (1340978026,), (1340978028,), (1340978337,), (1340978333,), (1340978596,), (1340978632,), (1340978677,), (1340978683,), (1340978688,), (1340979288,), (1340979308,), (1340979313,), (1340979317,), (1340979533,), (1340979541,), (1340979543,), (1340979549,), (1340979683,), (1340979688,), (1340979694,), (1340979759,), (1340979763,), (1340979768,), (1340979801,), (1340979819,), (1340979822,), (1340979826,), (1340979858,), (1340979863,), (1340979866,), (1340979928,), (1340980013,), (1340980068,), (1340980078,), (1340980084,), (1340980148,), (1340980154,), (1340980160,), (1340980164,), (1340980308,), (1340980383,), (1340980453,), (1340980687,), (1340980701,), (1340980716,), (1340980729,), (1340980768,), (1340980760,), (1340980764,), (1340980996,), (1340981030,), (1340981080,), (1340981383,), (1340981407,), (1340981412,), (1340981455,), (1340981473,), (1340981610,), (1340981611,), (1340981616,), (1340981624,), (1340981770,), (1340981807,), (1340982918,), (1340982923,), (1340982927,), (1340982963,), (1340982966,), (1340982978,), (1340982989,), (1340982996,), (1340982999,), (1340983031,), (1340983069,), (1340983079,), (1340983086,), (1340983091,), (1340983115,), (1340983210,), (1340983216,), (1340983223,), (1340983334,), (1340983309,), (1340983314,), (1340983319,), (1340983326,), (1340983330,), (1340983356,), (1340983361,), (1340983366,), (1340983371,), (1340983375,), (1340983379,), (1340983445,), (1340983452,), (1340983456,), (1340983681,), (1340983686,), (1340983708,), (1340983720,), (1340983727,), (1340983736,), (1340983768,), (1340983772,), (1340983777,), (1340983780,), (1340983785,), (1340983790,), (1340983814,), (1340983818,), (1340983821,), (1340983825,), (1340983915,), (1340983918,), (1340983930,), (1340983935,), (1340984024,), (1340984046,), (1340984050,), (1340984061,), (1340984066,), (1340984073,), (1340984109,), (1340984114,), (1340984116,), (1340984120,), (1340984170,), (1340984183,), (1340984207,), (1340984215,), (1340984221,), (1340984227,), (1340984244,), (1340984248,), (1340984276,), (1340984284,), (1340984290,), (1340984488,), (1340984496,), (1340984507,), (1340984658,), (1340984663,), (1340984670,), (1340984680,), (1340984740,), (1340984810,), (1340984852,), (1340984856,), (1340984871,), (1340984880,), (1340984884,), (1340984888,), (1340985548,), (1340985557,), (1340985562,), (1340985570,), (1340985822,), (1340985772,), (1340985779,), (1340985791,), (1340985812,), (1340985817,), (1340985844,), (1340985853,), (1340985863,), (1340985881,), (1340985922,), (1340985925,), (1340985930,), (1340985938,), (1340985944,), (1340985997,), (1340986000,), (1340986018,), (1340986074,), (1340986249,), (1340986562,), (1340986633,), (1340986647,), (1340986658,), (1340986693,), (1340986815,), (1340986860,), (1340986871,), (1340986877,), (1340986884,), (1340986887,), (1340986968,), (1340986970,), (1340986976,), (1340986985,), (1340987068,), (1340987071,), (1340987077,), (1340987088,), (1340987180,), (1340987206,), (1340987214,), (1340987220,), (1340987230,), (1340987237,), (1340987255,), (1340987263,), (1340987276,), (1340987285,), (1340987320,), (1340987323,), (1340987330,), (1340987337,), (1340987372,), (1340987385,), (1340987401,), (1340987409,), (1340987419,), (1340987425,), (1340987444,), (1340987486,), (1340987495,), (1340987506,), (1340987516,), (1340987526,), (1340987537,), (1340987543,), (1340987552,), (1340987557,), (1340987562,), (1340987605,), (1340987609,), (1340987623,), (1340987629,), (1340987636,), (1340987641,), (1340987689,), (1340987667,), (1340987671,), (1340987677,), (1340987685,), (1340987739,), (1340987741,), (1340987747,), (1340987753,), (1340987768,), (1340987810,), (1340987895,), (1340987910,), (1340987915,), (1340987921,), (1340988047,), (1340988093,), (1340988095,), (1340988098,), (1340988103,), (1340988107,), (1340988113,), (1340989452,), (1340989676,), (1340989952,), (1340989959,), (1340989999,), (1340990034,), (1340990037,), (1340990039,), (1340990046,), (1340990053,), (1340990060,), (1340990070,), (1340990668,), (1340990690,), (1340990768,), (1340990840,), (1340991322,), (1340991325,), (1340991331,), (1340991337,), (1340991344,), (1340991354,), (1340991388,), (1340991396,), (1340991407,), (1340991416,), (1340991421,), (1340991498,), (1340991503,), (1340991511,), (1340991520,), (1340991547,), (1340991552,), (1340991554,), (1340991557,), (1340991563,), (1340991610,), (1340991587,), (1340991593,), (1340991599,), (1340991605,), (1340991634,), (1340991645,), (1340991649,), (1340991653,), (1340991659,), (1340991681,), (1340991685,), (1340991690,), (1340991697,), (1340991701,), (1340991726,), (1340991731,), (1340991738,), (1340991744,), (1340991749,), (1340991752,), (1340992136,), (1340992180,), (1340992197,), (1340992214,), (1340992335,), (1340992375,), (1340992380,), (1340992429,), (1340992444,), (1340992447,), (1340992493,), (1340992499,), (1340992613,), (1340992618,), (1340992624,), (1340992630,), (1340992712,), (1340992716,), (1340992718,), (1340992723,), (1340992950,), (1340992955,), (1340992960,), (1340992964,), (1340992970,), (1340993061,), (1340993163,), (1340993168,), (1340993173,), (1340993179,), (1340993183,), (1340993230,), (1340993240,), (1340993252,), (1340993259,), (1340993284,), (1340993420,), (1340993609,), (1340993616,), (1340993627,), (1340993642,), (1340993732,), (1340993699,), (1340993707,), (1340993720,), (1340994647,), (1340995210,), (1340995216,), (1340995224,), (1340995234,), (1340995238,), (1340995555,), (1340995593,), (1340995649,), (1340995709,), (1340996068,), (1340996203,), (1340996214,), (1340996218,), (1340996223,), (1340996234,), (1340996359,), (1340996365,), (1340996380,), (1340996385,), (1340996387,), (1340996389,), (1340996606,), (1340996611,), (1340996617,), (1340996623,), (1340996696,), (1340996763,), (1340996776,), (1340996793,), (1340996798,), (1340996825,), (1340996880,), (1340996885,), (1340996948,), (1340996953,), (1340996955,), (1340997055,), (1340997064,), (1340997072,), (1340997080,), (1340997116,), (1340997120,), (1340997124,), (1340997130,), (1340997145,), (1340997150,), (1340997196,), (1340997200,), (1340997206,), (1340997211,), (1340997216,), (1340997222,), (1340997262,), (1340997248,), (1340997251,), (1340997306,), (1340997312,), (1340997318,), (1340997321,), (1340997324,), (1340997326,), (1340997349,), (1340997356,), (1340997363,), (1340997368,), (1340997919,), (1340997926,), (1340997932,), (1340997945,), (1340997961,), (1340997963,), (1340998104,), (1340998111,), (1340998117,), (1340998125,), (1340998186,), (1340998197,), (1340998213,), (1340998220,), (1340998223,), (1340998294,), (1340998300,), (1340998304,), (1340998309,), (1340998372,), (1340998375,), (1340998388,), (1340998412,), (1340998423,), (1340998472,), (1340998551,), (1340998553,), (1340998560,), (1340998648,), (1340998654,), (1340998657,), (1340998668,), (1340998701,), (1340998704,), (1340998705,), (1340998709,), (1340998714,), (1340998719,), (1340998773,), (1340998778,), (1340998781,), (1340998820,), (1340998822,), (1340998828,), (1340998834,), (1340998839,), (1340998844,), (1340998882,), (1340998890,), (1340998934,), (1340998938,), (1340998963,), (1340998967,), (1340998972,), (1340998978,), (1340999147,), (1340999013,), (1340999092,), (1340999094,), (1340999123,), (1340999299,), (1340999302,), (1340999306,), (1340999313,), (1340999318,), (1340999322,), (1340999375,), (1340999386,), (1340999397,), (1340999430,), (1340999475,), (1340999478,), (1340999485,), (1340999500,), (1340999556,), (1340999560,), (1340999572,), (1340999654,), (1340999656,), (1340999659,), (1340999665,), (1340999699,), (1340999703,), (1340999718,), (1340999733,), (1340999746,), (1340999796,), (1340999801,), (1340999809,), (1340999827,), (1341000185,), (1341000292,), (1341000299,), (1341000332,), (1341000566,), (1341000601,), (1341000619,), (1341000631,), (1341000725,), (1341000812,), (1341000857,), (1341000955,), (1341000957,), (1341000964,), (1341000971,), (1341000977,), (1341001128,), (1341001138,), (1341001150,), (1341001157,), (1341001160,), (1341001163,), (1341001223,), (1341001231,), (1341001240,), (1341001245,), (1341001248,), (1341001252,), (1341001302,), (1341001281,), (1341001286,), (1341001295,), (1341001299,), (1341001438,), (1341001441,), (1341001461,), (1341001466,), (1341001487,), (1341001492,), (1341001496,), (1341001500,), (1341001529,), (1341001533,), (1341001536,), (1341001542,), (1341001756,), (1341001759,), (1341001995,), (1341002245,), (1341002771,), (1341002780,), (1341002786,), (1341002867,), (1341002873,), (1341003167,), (1341003681,), (1341003751,), (1341003769,), (1341003775,), (1341003820,), (1341003824,), (1341004035,), (1341004038,), (1341004137,), (1341004145,), (1341004196,), (1341004199,), (1341004206,), (1341004210,), (1341004215,), (1341004247,), (1341004249,), (1341004253,), (1341004460,), (1341004481,), (1341004488,), (1341004493,), (1341004561,), (1341004565,), (1341004575,), (1341004579,), (1341004583,), (1341004587,), (1341004640,), (1341004657,), (1341004663,), (1341004668,), (1341004810,), (1341004818,), (1341004924,), (1341004895,), (1341004900,), (1341004903,), (1341004921,), (1341004968,), (1341004974,), (1341004977,), (1341004980,), (1341004983,), (1341005050,), (1341005054,), (1341005056,), (1341005059,), (1341005096,), (1341005104,), (1341005113,), (1341005117,), (1341005119,), (1341005122,), (1341005514,), (1341005579,), (1341005682,), (1341005781,), (1341005846,), (1341006081,), (1341006202,), (1341006206,), (1341006212,), (1341006215,), (1341006355,), (1341006358,), (1341006362,), (1341006589,), (1341006591,), (1341006596,), (1341006599,), (1341006615,), (1341006833,), (1341006835,), (1341006840,), (1341006865,), (1341006875,), (1341006944,), (1341007032,), (1341007088,), (1341007522,), (1341007552,), (1341007555,), (1341007559,), (1341007591,), (1341007595,), (1341007779,), (1341007784,), (1341007797,), (1341007807,), (1341007812,), (1341007881,), (1341007884,), (1341007890,), (1341008036,), (1341008045,), (1341008052,), (1341008232,), (1341008240,), (1341008245,), (1341008247,), (1341008251,), (1341008298,), (1341008278,), (1341008290,), (1341008294,), (1341008421,), (1341008544,), (1341008597,), (1341008652,), (1341008690,), (1341008701,), (1341008724,), (1341008893,), (1341008924,), (1341008934,), (1341009649,), (1341009679,), (1341009693,), (1341009697,), (1341009700,), (1341009764,), (1341009769,), (1341009773,), (1341009827,), (1341009829,), (1341009837,), (1341009841,), (1341014499,), (1341015269,), (1341015271,), (1341015274,), (1341015322,), (1341015399,), (1341015401,), (1341015404,), (1341015413,), (1341015451,), (1341015454,), (1341015465,), (1341015471,), (1341016100,), (1341016102,), (1341016104,), (1341016471,), (1341016979,), (1341016981,), (1341016987,), (1341016992,), (1341016997,), (1341017213,), (1341017218,), (1341017223,), (1341017228,), (1341017262,), (1341017318,), (1341017330,), (1341017336,), (1341017344,), (1341017350,), (1341017368,), (1341017371,), (1341017375,), (1341017424,), (1341017431,), (1341017439,), (1341017523,), (1341017538,), (1341017554,), (1341017585,), (1341017596,), (1341017603,), (1341017622,), (1341017654,), (1341017658,), (1341017668,), (1341017706,), (1341017698,), (1341017700,), (1341017746,), (1341017749,), (1341017764,), (1341017771,), (1341018035,), (1341018037,), (1341018042,), (1341018049,), (1341018260,), (1341018264,), (1341018267,), (1341018275,), (1341018278,), (1341018309,), (1341018314,), (1341018328,), (1341018334,), (1341018473,), (1341018502,), (1341018509,), (1341018514,), (1341018517,), (1341018520,), (1341018539,), (1341018540,), (1341018551,), (1341018554,), (1341018580,), (1341018584,), (1341018593,), (1341018607,), (1341018609,), (1341018614,), (1341018639,), (1341018642,), (1341018644,), (1341018649,), (1341018654,), (1341018656,), (1341018683,), (1341018688,), (1341018696,), (1341018701,), (1341018705,), (1341018744,), (1341018748,), (1341018753,), (1341018758,), (1341018788,), (1341018792,), (1341018802,), (1341018807,), (1341018812,), (1341018815,), (1341019407,), (1341019513,), (1341019601,), (1341019697,), (1341019810,), (1341020038,), (1341020054,), (1341020061,), (1341020065,), (1341020189,), (1341020191,), (1341020196,), (1341020202,), (1341020276,), (1341020269,), (1341020273,), (1341020412,), (1341020419,), (1341020425,), (1341020430,), (1341020433,), (1341020466,), (1341020468,), (1341020474,), (1341020480,), (1341020485,), (1341020508,), (1341020513,), (1341020521,), (1341020527,), (1341020571,), (1341020579,), (1341020593,), (1341020630,), (1341020646,), (1341020652,), (1341020681,), (1341020719,), (1341020723,), (1341020727,), (1341020735,), (1341020780,), (1341020789,), (1341020806,), (1341020808,), (1341020812,), (1341020815,), (1341020978,), (1341020986,), (1341020991,), (1341020994,), (1341020998,), (1341021001,), (1341021027,), (1341021031,), (1341021036,), (1341021133,), (1341021142,), (1341021149,), (1341021153,), (1341021180,), (1341021183,), (1341021338,), (1341021573,), (1341021903,), (1341022198,), (1341022254,), (1341022287,), (1341022291,), (1341022295,), (1341022867,), (1341022880,), (1341022896,), (1341022897,), (1341022924,), (1341023057,), (1341023033,), (1341023036,), (1341023042,), (1341023111,), (1341023117,), (1341023123,), (1341023133,), (1341023137,), (1341023163,), (1341023177,), (1341023184,), (1341023189,), (1341023192,), (1341023405,), (1341023438,), (1341023472,), (1341023537,), (1341023664,), (1341023669,), (1341023673,), (1341023678,), (1341023682,), (1341023685,), (1341023831,), (1341023833,), (1341023839,), (1341023844,), (1341023851,), (1341023855,), (1341023882,), (1341023886,), (1341023890,), (1341023893,), (1341023971,), (1341023977,), (1341023982,), (1341023989,), (1341024049,), (1341024075,), (1341024079,), (1341024083,), (1341024087,), (1341024150,), (1341024165,), (1341024245,), (1341024249,), (1341024253,), (1341024257,), (1341024335,), (1341024340,), (1341024347,), (1341024352,), (1341024369,), (1341024382,), (1341024385,), (1341024388,), (1341024485,), (1341024500,), (1341024504,), (1341024510,), (1341024815,), (1341025044,), (1341025085,), (1341025090,), (1341025094,), (1341025214,), (1341025217,), (1341025315,), (1341025517,), (1341025659,), (1341025664,), (1341025671,), (1341025680,), (1341025704,), (1341025774,), (1341025779,), (1341026308,), (1341026597,), (1341026601,), (1341026684,), (1341026756,), (1341026761,), (1341026768,), (1341026795,), (1341026797,), (1341026800,), (1341026869,), (1341026874,), (1341026878,), (1341026909,), (1341026921,), (1341026933,), (1341026983,), (1341026985,), (1341026999,), (1341027011,), (1341027015,), (1341027021,), (1341027213,), (1341027217,), (1341027231,), (1341027236,), (1341027305,), (1341027309,), (1341027315,), (1341027384,), (1341027389,), (1341027395,), (1341027495,), (1341027528,), (1341027551,), (1341027572,), (1341027603,), (1341027633,), (1341027650,), (1341027656,), (1341027659,), (1341027661,), (1341027776,), (1341027780,), (1341027788,), (1341027799,), (1341027865,), (1341027854,), (1341027858,), (1341028050,), (1341028121,), (1341028125,), (1341028135,), (1341028141,), (1341028253,), (1341028264,), (1341028269,), (1341028275,), (1341028328,), (1341028352,), (1341028373,), (1341028384,), (1341028445,), (1341028516,), (1341028539,), (1341028551,), (1341028569,), (1341028579,), (1341028618,), (1341028765,), (1341028769,), (1341028773,), (1341028780,), (1341028785,), (1341028951,), (1341028956,), (1341028982,), (1341028990,), (1341029009,), (1341029094,), (1341029138,), (1341029157,), (1341029171,), (1341029176,), (1341029300,), (1341029315,), (1341029321,), (1341029361,), (1341029366,), (1341029371,), (1341029435,), (1341029450,), (1341029454,), (1341029461,), (1341029466,), (1341029471,), (1341029493,), (1341029645,), (1341029669,), (1341029684,), (1341029824,), (1341029831,), (1341029841,), (1341029848,), (1341029851,), (1341029854,), (1341029902,), (1341029911,), (1341029921,), (1341029925,), (1341029930,), (1341029935,), (1341029992,), (1341029998,), (1341030073,), (1341030038,), (1341030044,), (1341030050,), (1341030063,), (1341030269,), (1341030274,), (1341030281,), (1341030308,), (1341030320,), (1341030327,), (1341030528,), (1341030533,), (1341030544,), (1341030558,), (1341030633,), (1341030788,), (1341030832,), (1341030843,), (1341030849,), (1341030880,), (1341030913,), (1341031353,), (1341031482,), (1341031488,), (1341031492,), (1341031511,), (1341031519,), (1341031648,), (1341031651,), (1341032184,), (1341032166,), (1341032170,), (1341032177,), (1341032246,), (1341032272,), (1341032579,), (1341032583,), (1341032590,), (1341032594,), (1341032714,), (1341032721,), (1341032740,), (1341032857,), (1341032862,), (1341032873,), (1341032876,), (1341032912,), (1341032918,), (1341032921,), (1341032923,), (1341033180,), (1341033639,), (1341033646,), (1341033864,), (1341034020,), (1341034275,), (1341034668,), (1341034672,), (1341034675,), (1341034680,), (1341034684,), (1341034913,), (1341034916,), (1341034961,), (1341035181,), (1341035191,), (1341035230,), (1341035237,), (1341035248,), (1341035505,), (1341035446,), (1341035452,), (1341035486,), (1341035500,), (1341035763,), (1341035767,), (1341035777,), (1341035782,), (1341035790,), (1341035833,), (1341036028,), (1341036032,), (1341036253,), (1341036265,), (1341036269,), (1341036271,), (1341036286,), (1341036338,), (1341036341,), (1341036345,), (1341036351,), (1341036354,), (1341036381,), (1341036384,), (1341036390,), (1341036394,), (1341036430,), (1341036434,), (1341036438,), (1341036444,), (1341036487,), (1341036490,), (1341036493,), (1341036503,), (1341036508,), (1341036512,), (1341036676,), (1341036680,), (1341036689,), (1341036692,), (1341036699,), (1341036706,), (1341036725,), (1341036735,), (1341036741,), (1341036778,), (1341036784,), (1341036790,), (1341036795,), (1341036798,), (1341036834,), (1341036837,), (1341036842,), (1341036847,), (1341036854,), (1341036951,), (1341036883,), (1341036887,), (1341036928,), (1341037174,), (1341037177,), (1341037180,), (1341037184,), (1341037188,), (1341037193,), (1341037245,), (1341037250,), (1341037254,), (1341037261,), (1341037378,), (1341037383,), (1341037385,), (1341037389,), (1341037394,), (1341037404,), (1341037515,), (1341037541,), (1341037550,), (1341037565,), (1341037594,), (1341037597,), (1341037637,), (1341037640,), (1341037644,), (1341037712,), (1341037717,), (1341037736,), (1341037741,), (1341037752,), (1341037755,), (1341037794,), (1341037801,), (1341037805,), (1341037834,), (1341037846,), (1341037869,), (1341037913,), (1341037917,), (1341037923,), (1341037934,), (1341038018,), (1341038026,), (1341038036,), (1341038039,), (1341038045,), (1341038064,), (1341038071,), (1341038079,), (1341038132,), (1341038158,), (1341038243,), (1341038264,), (1341038268,), (1341038278,), (1341038390,), (1341038496,), (1341038501,), (1341038506,), (1341038537,), (1341038542,), (1341038546,), (1341038595,), (1341038598,), (1341038602,), (1341038606,), (1341038617,), (1341038627,), (1341038658,), (1341038664,), (1341038670,), (1341038679,), (1341038756,), (1341038725,), (1341038728,), (1341038733,), (1341038748,), (1341039077,), (1341039081,), (1341039091,), (1341039153,), (1341039160,), (1341039301,), (1341039307,), (1341039313,), (1341039318,), (1341039322,), (1341039326,), (1341039346,), (1341039362,), (1341039368,), (1341039404,), (1341039410,), (1341039449,), (1341039453,), (1341039456,), (1341039459,), (1341039461,), (1341039478,), (1341039482,), (1341039488,), (1341039491,), (1341039495,), (1341039498,), (1341039544,), (1341039548,), (1341039552,), (1341039563,), (1341039573,), (1341039611,), (1341039614,), (1341039619,), (1341039667,), (1341039671,), (1341039731,), (1341039860,), (1341039864,), (1341039871,), (1341039878,), (1341039886,), (1341039891,), (1341039959,), (1341039963,), (1341039968,), (1341039987,), (1341040014,), (1341040018,), (1341040024,), (1341040028,), (1341040035,), (1341040064,), (1341040146,), (1341040260,), (1341040416,), (1341040427,), (1341040438,), (1341040444,), (1341040448,), (1341040452,), (1341040488,), (1341040485,), (1341040534,), (1341040547,), (1341040553,), (1341040568,), (1341040905,), (1341040910,), (1341040916,), (1341040991,), (1341041078,), (1341041171,), (1341041210,), (1341041218,), (1341041223,), (1341041282,), (1341041294,), (1341041375,), (1341041845,), (1341041860,), (1341041953,), (1341042034,), (1341042123,), (1341042131,), (1341042133,), (1341042138,), (1341042166,), (1341042174,), (1341042190,), (1341042193,), (1341042245,), (1341042251,), (1341042301,), (1341042305,), (1341042348,), (1341042352,), (1341042362,), (1341042633,), (1341042648,), (1341042664,), (1341042669,), (1341042892,), (1341042902,), (1341042905,), (1341042925,), (1341042934,), (1341042979,), (1341042981,), (1341042985,), (1341042990,), (1341043040,), (1341043053,), (1341043057,), (1341043063,), (1341043066,), (1341043097,), (1341043101,), (1341043104,), (1341043111,), (1341043115,), (1341043163,), (1341043144,), (1341043147,), (1341043151,), (1341043154,), (1341043330,), (1341043358,), (1341043362,), (1341043367,), (1341043638,), (1341043642,), (1341043647,), (1341043652,), (1341043657,), (1341043660,), (1341043977,), (1341043983,), (1341043990,), (1341043996,), (1341044154,), (1341044158,), (1341044162,), (1341044166,), (1341044170,), (1341044207,), (1341044229,), (1341044259,), (1341044263,), (1341044268,), (1341044466,), (1341044469,), (1341044475,), (1341044480,), (1341044505,), (1341044508,), (1341044519,), (1341044523,), (1341044528,), (1341044533,), (1341044553,), (1341044558,), (1341044559,), (1341044562,), (1341044567,), (1341044612,), (1341044616,), (1341044619,), (1341044623,), (1341044663,), (1341044669,), (1341044674,), (1341044695,), (1341044698,), (1341044703,), (1341044878,), (1341044881,), (1341044884,), (1341044889,), (1341044976,), (1341045207,), (1341045241,), (1341045246,), (1341045256,), (1341045429,), (1341045468,), (1341045503,), (1341045507,), (1341045512,), (1341045516,), (1341045570,), (1341045586,), (1341045594,), (1341045602,), (1341045606,), (1341045684,), (1341045657,), (1341045666,), (1341045672,), (1341045677,), (1341045715,), (1341045722,), (1341045727,), (1341045732,), (1341045737,), (1341045753,), (1341045757,), (1341045762,), (1341045766,), (1341045771,), (1341045779,), (1341045800,), (1341045804,), (1341045808,), (1341045866,), (1341045869,), (1341045914,), (1341045923,), (1341045935,), (1341045940,), (1341046008,), (1341046045,), (1341046058,), (1341046121,), (1341046212,), (1341047013,), (1341047064,), (1341047101,), (1341047110,), (1341047153,), (1341047198,), (1341047219,), (1341047231,), (1341047583,), (1341047587,), (1341047592,), (1341047625,), (1341047634,), (1341047640,), (1341047648,), (1341047652,), (1341047655,), (1341047672,), (1341047675,), (1341047689,), (1341047692,), (1341047718,), (1341047741,), (1341047748,), (1341047753,), (1341047755,), (1341047891,), (1341047932,), (1341047920,), (1341047923,), (1341047926,), (1341048198,), (1341048234,), (1341048258,), (1341048266,), (1341048328,), (1341048332,), (1341048352,), (1341048358,), (1341048363,), (1341048366,), (1341048394,), (1341048399,), (1341048405,), (1341048410,), (1341048435,), (1341048443,), (1341048459,), (1341048466,), (1341048471,), (1341048515,), (1341048519,), (1341048720,), (1341048728,), (1341048787,), (1341048797,), (1341048806,), (1341048936,), (1341048939,), (1341048976,), (1341048980,), (1341048983,), (1341048986,), (1341049023,), (1341049039,), (1341049043,), (1341049047,), (1341049051,), (1341049105,), (1341049110,), (1341049117,), (1341049124,), (1341049129,), (1341049200,), (1341049204,), (1341049208,), (1341049213,), (1341049218,), (1341049221,), (1341049261,), (1341049266,), (1341049270,), (1341049277,), (1341049324,), (1341049344,), (1341049592,), (1341049814,), (1341050960,), (1341051080,), (1341051084,), (1341051089,), (1341051092,), (1341051106,), (1341051110,), (1341051112,), (1341051118,), (1341062256,), (1341062243,), (1341062280,), (1341062282,), (1341062285,), (1341062290,), (1341062293,), (1341062321,), (1341062546,), (1341062559,), (1341062580,), (1341062584,), (1341062612,), (1341062617,), (1341062622,), (1341062627,), (1341062653,), (1341062656,), (1341062660,), (1341062664,), (1341062669,), (1341062675,), (1341062697,), (1341062702,), (1341062706,), (1341062711,), (1341062717,), (1341062770,), (1341062754,), (1341062758,), (1341062764,), (1341062888,), (1341062991,), (1341063076,), (1341063081,), (1341063087,), (1341063090,), (1341063422,), (1341063425,), (1341063431,), (1341063436,), (1341063440,), (1341063444,), (1341063573,), (1341063577,), (1341063728,), (1341063736,), (1341063753,), (1341063758,), (1341063762,), (1341063829,), (1341063863,), (1341063918,), (1341063939,), (1341063958,), (1341064195,), (1341064217,), (1341064222,), (1341064285,), (1341064289,), (1341064293,), (1341064296,), (1341064357,), (1341064360,), (1341064365,), (1341064397,), (1341064400,), (1341064404,), (1341064411,), (1341064455,), (1341064459,), (1341064463,), (1341064468,), (1341064473,), (1341064496,), (1341064499,), (1341064852,), (1341064854,), (1341064864,), (1341064914,), (1341065061,), (1341065064,), (1341065067,), (1341065096,), (1341065100,), (1341065147,), (1341065150,), (1341065156,), (1341065161,), (1341065165,), (1341065288,), (1341065274,), (1341065277,), (1341065283,), (1341065394,), (1341065395,), (1341065399,), (1341065409,), (1341065660,), (1341065664,), (1341065667,), (1341065670,), (1341065717,), (1341065719,), (1341065849,), (1341065854,), (1341065880,), (1341065895,), (1341065901,), (1341065906,), (1341065912,), (1341066687,), (1341066692,), (1341066700,), (1341066758,), (1341067017,), (1341067030,), (1341067037,), (1341067050,), (1341067100,), (1341067350,), (1341067429,), (1341067433,), (1341067436,), (1341067511,), (1341067603,), (1341067613,), (1341067619,), (1341067631,), (1341067637,), (1341067741,), (1341067749,), (1341067754,), (1341067771,), (1341067773,), (1341067788,), (1341067794,), (1341067807,), (1341067813,), (1341067820,), (1341067826,), (1341067855,), (1341067867,), (1341067872,), (1341067878,), (1341067882,), (1341067907,), (1341067929,), (1341067941,), (1341067946,), (1341067950,), (1341068146,), (1341068216,), (1341068314,), (1341068390,), (1341068777,), (1341068829,), (1341068838,), (1341068849,), (1341068880,), (1341068916,), (1341069037,), (1341069022,), (1341069112,), (1341069114,), (1341069120,), (1341069125,), (1341069130,), (1341069135,), (1341069487,), (1341069540,), (1341069572,), (1341069580,), (1341069654,), (1341069660,), (1341069664,), (1341069669,), (1341069674,), (1341069678,), (1341069709,), (1341069711,), (1341069718,), (1341069727,), (1341069730,), (1341069734,), (1341069764,), (1341069767,), (1341069770,), (1341069775,), (1341069858,), (1341069866,), (1341069871,), (1341069874,), (1341069877,), (1341069882,), (1341070120,), (1341070147,), (1341070151,), (1341070156,), (1341070160,), (1341070168,), (1341070765,), (1341070767,), (1341070775,), (1341071007,), (1341071023,), (1341071026,), (1341071091,), (1341071094,), (1341071099,), (1341071105,), (1341071120,), (1341071200,), (1341071292,), (1341071295,), (1341071300,), (1341071353,), (1341071357,), (1341071363,), (1341071368,), (1341071378,), (1341071384,), (1341071465,), (1341071475,), (1341071730,), (1341071723,), (1341071728,), (1341071909,), (1341071953,), (1341071956,), (1341071960,), (1341071964,), (1341071975,), (1341072082,), (1341072085,), (1341072090,), (1341072094,), (1341072098,), (1341072123,), (1341072192,), (1341072194,), (1341072197,), (1341072201,), (1341072761,), (1341072767,), (1341072849,), (1341072893,), (1341072896,), (1341073089,), (1341073093,), (1341073095,), (1341073103,), (1341073302,), (1341073305,), (1341073315,), (1341073320,), (1341073346,), (1341073351,), (1341073359,), (1341073483,), (1341073485,), (1341073488,), (1341073493,), (1341073505,), (1341073509,), (1341073538,), (1341073542,), (1341073550,), (1341073558,), (1341073602,), (1341073605,), (1341073608,), (1341073615,), (1341073620,), (1341073653,), (1341073657,), (1341073661,), (1341073750,), (1341073835,), (1341073911,), (1341073999,), (1341074050,), (1341074157,), (1341074161,), (1341074163,), (1341074168,), (1341074171,), (1341074176,), (1341074250,), (1341074252,), (1341074257,), (1341074266,), (1341074448,), (1341074297,), (1341074301,), (1341074304,), (1341074307,), (1341074311,), (1341074745,), (1341074749,), (1341074815,), (1341074917,), (1341075043,), (1341075135,), (1341075235,), (1341075332,), (1341075431,), (1341075435,), (1341075441,), (1341075481,), (1341075485,), (1341075492,), (1341075497,), (1341075500,), (1341075504,), (1341075523,), (1341075527,), (1341075533,), (1341075539,), (1341075543,), (1341075567,), (1341075571,), (1341075577,), (1341076229,), (1341076234,), (1341076298,), (1341076325,), (1341076330,), (1341076342,), (1341076430,), (1341076450,), (1341076462,), (1341076477,), (1341076494,), (1341076695,), (1341076757,), (1341076849,), (1341077055,), (1341077064,), (1341077109,), (1341077114,), (1341077119,), (1341077122,), (1341077147,), (1341077150,), (1341077154,), (1341077160,), (1341077164,), (1341077171,), (1341077212,), (1341077217,), (1341077224,), (1341077229,), (1341077408,), (1341077330,), (1341077358,), (1341077369,), (1341077386,), (1341077405,), (1341077436,), (1341077440,), (1341077445,), (1341077455,), (1341077881,), (1341077888,), (1341077892,), (1341077895,), (1341077899,), (1341078247,), (1341078258,), (1341078283,), (1341078301,), (1341078304,), (1341078325,), (1341078330,), (1341078337,), (1341078344,), (1341078358,), (1341078368,), (1341078403,), (1341078408,), (1341078414,), (1341078455,), (1341078467,), (1341078473,), (1341078561,), (1341078567,), (1341078572,), (1341078579,), (1341078583,), (1341078591,), (1341078818,), (1341078832,), (1341078841,), (1341078851,), (1341078862,), (1341078869,), (1341078893,), (1341078900,), (1341078907,), (1341078912,), (1341078940,), (1341078944,), (1341078950,), (1341079179,), (1341079189,), (1341079194,), (1341079199,), (1341079222,), (1341079547,), (1341079550,), (1341079579,), (1341079637,), (1341079663,), (1341079745,), (1341079755,), (1341079774,), (1341079919,), (1341079922,), (1341079929,), (1341079954,), (1341079960,), (1341079966,), (1341080099,), (1341080072,), (1341080081,), (1341080085,), (1341080091,), (1341080326,), (1341080351,), (1341080547,), (1341080588,), (1341080745,), (1341080898,), (1341080910,), (1341081357,), (1341081406,), (1341081414,), (1341081437,), (1341081505,), (1341081511,), (1341081669,), (1341081680,), (1341081693,), (1341081704,), (1341081742,), (1341081762,), (1341081783,), (1341082015,), (1341082058,), (1341082074,), (1341082079,), (1341082088,), (1341082104,), (1341082106,), (1341082112,), (1341082119,), (1341082132,), (1341082185,), (1341082192,), (1341082199,), (1341082251,), (1341082256,), (1341082262,), (1341082267,), (1341082270,), (1341082322,), (1341082329,), (1341082335,), (1341082340,), (1341082366,), (1341082369,), (1341082371,), (1341082376,), (1341082380,), (1341082386,), (1341082633,), (1341082651,), (1341082655,), (1341083012,), (1341083021,), (1341083028,), (1341083032,), (1341083036,), (1341083046,), (1341083049,), (1341083052,), (1341083057,), (1341083061,), (1341083082,), (1341083073,), (1341083077,), (1341083290,), (1341083303,), (1341083306,), (1341083522,), (1341083560,), (1341083645,), (1341083680,), (1341084246,), (1341084251,), (1341084257,), (1341084617,), (1341084623,), (1341084628,), (1341084679,), (1341084691,), (1341084695,), (1341084700,), (1341084710,), (1341084745,), (1341084749,), (1341084758,), (1341084760,), (1341084765,), (1341084775,), (1341084821,), (1341084826,), (1341084834,), (1341084901,), (1341085377,), (1341085382,), (1341085395,), (1341085432,), (1341085457,), (1341085495,), (1341085593,), (1341085599,), (1341085602,), (1341085615,), (1341085622,), (1341085673,), (1341085678,), (1341085683,), (1341085688,), (1341085692,), (1341085741,), (1341085749,), (1341085752,), (1341085757,), (1341085760,), (1341085785,), (1341085788,), (1341085793,), (1341085797,), (1341085803,), (1341086385,), (1341086396,), (1341086401,), (1341086444,), (1341086496,), (1341086512,), (1341086659,), (1341086663,), (1341086669,), (1341086889,), (1341086824,), (1341086839,), (1341086867,), (1341086874,), (1341086926,), (1341086930,), (1341086934,), (1341086939,), (1341086944,), (1341087259,), (1341087266,), (1341087280,), (1341087288,), (1341087464,), (1341087467,), (1341087472,), (1341087475,), (1341087480,), (1341087484,), (1341087510,), (1341087514,), (1341087516,), (1341087521,), (1341087628,), (1341087638,), (1341087648,), (1341087652,), (1341088208,), (1341088222,), (1341088230,), (1341088235,), (1341088287,), (1341088297,), (1341088303,), (1341088312,), (1341088317,), (1341088362,), (1341088384,), (1341088389,), (1341088393,), (1341088446,), (1341088448,), (1341088453,), (1341088459,), (1341088523,), (1341088526,), (1341088531,), (1341088541,), (1341088555,), (1341088560,), (1341088604,), (1341088608,), (1341088609,), (1341088616,), (1341088622,), (1341088627,), (1341088656,), (1341088659,), (1341088663,), (1341088669,), (1341088676,), (1341088712,), (1341088714,), (1341088719,), (1341088725,), (1341088729,), (1341088770,), (1341088772,), (1341088777,), (1341088783,), (1341088846,), (1341088822,), (1341088825,), (1341088831,), (1341088837,), (1341088842,), (1341088861,), (1341088865,), (1341088869,), (1341088876,), (1341088887,), (1341088899,), (1341089203,), (1341089223,), (1341089248,), (1341089373,), (1341089377,), (1341089382,), (1341089388,), (1341089393,), (1341089490,), (1341089492,), (1341089497,), (1341089505,), (1341089510,), (1341089633,), (1341089675,), (1341089681,), (1341089712,), (1341089724,), (1341090053,), (1341090056,), (1341090061,), (1341090067,), (1341090070,), (1341090241,), (1341095144,), (1341103908,), (1341103911,), (1341103917,), (1341103945,), (1341103974,), (1341103981,), (1341103985,), (1341103989,), (1341104136,), (1341104140,), (1341104146,), (1341104571,), (1341104625,), (1341104673,), (1341104816,), (1341104820,), (1341104827,), (1341104902,), (1341104906,), (1341104912,), (1341104916,), (1341104923,), (1341105256,), (1341105337,), (1341105381,), (1341105481,), (1341105556,), (1341105560,), (1341105580,), (1341105585,), (1341105590,), (1341105608,), (1341105659,), (1341105662,), (1341105667,), (1341105674,), (1341105738,), (1341105741,), (1341105747,), (1341105762,), (1341105772,), (1341105775,), (1341105884,), (1341105890,), (1341105894,), (1341105898,), (1341105901,), (1341105905,), (1341105934,), (1341105939,), (1341106170,), (1341106181,), (1341106186,), (1341106320,), (1341106322,), (1341106327,), (1341106331,), (1341106379,), (1341106358,), (1341106360,), (1341106366,), (1341106370,), (1341106682,), (1341106774,), (1341106972,), (1341107039,), (1341107043,), (1341107048,), (1341107092,), (1341107096,), (1341107101,), (1341107105,), (1341107201,), (1341107366,), (1341107503,), (1341107575,), (1341107579,), (1341107918,), (1341107929,), (1341107948,), (1341108031,), (1341108228,), (1341108231,), (1341108235,), (1341108238,), (1341108240,), (1341108479,), (1341108484,), (1341108491,), (1341108522,), (1341108573,), (1341108694,), (1341108697,), (1341108702,), (1341108708,), (1341108906,), (1341108909,), (1341108914,), (1341108917,), (1341108920,), (1341108958,), (1341108961,), (1341108980,), (1341109028,), (1341109030,), (1341109035,), (1341109041,), (1341109046,), (1341109067,), (1341109070,), (1341109075,), (1341109080,), (1341109099,), (1341109233,), (1341109245,), (1341109251,), (1341109283,), (1341109288,), (1341109293,), (1341109299,), (1341109302,), (1341109369,), (1341109377,), (1341109380,), (1341109384,), (1341109388,), (1341109446,), (1341109432,), (1341109435,), (1341109440,), (1341109473,), (1341109475,), (1341109479,), (1341109486,), (1341109489,), (1341109492,), (1341109521,), (1341109528,), (1341109533,), (1341109542,), (1341109553,), (1341109622,), (1341109624,), (1341109686,), (1341109913,), (1341109916,), (1341109922,), (1341110093,), (1341110095,), (1341110100,), (1341110106,), (1341110133,), (1341110731,), (1341110734,), (1341110797,), (1341110807,), (1341111078,), (1341111128,), (1341111244,), (1341111276,), (1341111288,), (1341111319,), (1341111322,), (1341111370,), (1341111373,), (1341111380,), (1341111387,), (1341111392,), (1341111396,), (1341111429,), (1341111436,), (1341111448,), (1341111456,), (1341111460,), (1341111543,), (1341112067,), (1341112445,), (1341112518,), (1341112523,), (1341112695,), (1341112697,), (1341112713,), (1341112787,), (1341113613,), (1341113632,), (1341113636,), (1341113754,), (1341113757,), (1341113761,), (1341113765,), (1341113769,), (1341113772,), (1341113905,), (1341113915,), (1341113920,), (1341113924,), (1341113928,), (1341113944,), (1341113946,), (1341113988,), (1341114014,), (1341114017,), (1341114119,), (1341114129,), (1341114134,), (1341114140,), (1341114145,), (1341114170,), (1341114173,), (1341114178,), (1341114189,), (1341114261,), (1341114307,), (1341114341,), (1341114348,), (1341114423,), (1341114429,), (1341114433,), (1341114439,), (1341114444,), (1341114466,), (1341114468,), (1341114479,), (1341114486,), (1341114489,), (1341114526,), (1341114534,), (1341114540,), (1341114545,), (1341114549,), (1341114612,), (1341114619,), (1341114629,), (1341114641,), (1341114642,), (1341114678,), (1341114666,), (1341114669,), (1341114674,), (1341114763,), (1341114765,), (1341114771,), (1341114777,), (1341114780,), (1341114816,), (1341114820,), (1341114825,), (1341114839,), (1341114842,), (1341114887,), (1341114890,), (1341114895,), (1341114899,), (1341115798,), (1341115807,), (1341115819,), (1341115830,), (1341115833,), (1341115836,), (1341116043,), (1341116082,), (1341116091,), (1341116097,), (1341116149,), (1341116169,), (1341116198,), (1341116307,), (1341116319,), (1341116322,), (1341116324,), (1341116326,), (1341116352,), (1341116355,), (1341116359,), (1341116366,), (1341116368,), (1341116421,), (1341116424,), (1341116428,), (1341116432,), (1341116434,), (1341116473,), (1341116476,), (1341116481,), (1341116714,), (1341116720,), (1341116725,), (1341116727,), (1341116729,), (1341116751,), (1341116754,), (1341116759,), (1341116763,), (1341116766,), (1341116830,), (1341116816,), (1341116819,), (1341116825,), (1341116912,), (1341117090,), (1341117124,), (1341117129,), (1341117132,), (1341117306,), (1341117310,), (1341117314,), (1341117321,), (1341117326,), (1341117330,), (1341117363,), (1341117374,), (1341117382,), (1341117387,), (1341117391,), (1341117453,), (1341117483,), (1341117487,), (1341117523,), (1341117527,), (1341117532,), (1341117539,), (1341117544,), (1341117550,), (1341117798,), (1341117861,), (1341117875,), (1341117894,), (1341117896,), (1341117935,), (1341117937,), (1341117943,), (1341117993,), (1341118062,), (1341118066,), (1341118072,), (1341118108,), (1341118117,), (1341118119,), (1341118125,), (1341118156,), (1341118168,), (1341118221,), (1341118225,), (1341118231,), (1341118238,), (1341118268,), (1341118288,), (1341118293,), (1341118319,), (1341118335,), (1341118341,), (1341118345,), (1341118350,), (1341118381,), (1341118387,), (1341118393,), (1341118409,), (1341118414,), (1341118452,), (1341118457,), (1341118462,), (1341118466,), (1341118519,), (1341118493,), (1341118502,), (1341118511,), (1341118515,), (1341118531,), (1341118587,), (1341118590,), (1341118594,), (1341119122,), (1341119125,), (1341119138,), (1341119210,), (1341119521,), (1341119524,), (1341119529,), (1341119536,), (1341119540,), (1341119543,), (1341119556,), (1341119559,), (1341119564,), (1341119569,), (1341119586,), (1341119588,), (1341119594,), (1341119598,), (1341119602,), (1341119632,), (1341119634,), (1341119641,), (1341119652,), (1341119661,), (1341119680,), (1341119686,), (1341119691,), (1341119695,), (1341119698,), (1341119737,), (1341119739,), (1341119744,), (1341119766,), (1341119770,), (1341119777,), (1341119788,), (1341119818,), (1341119825,), (1341119830,), (1341119834,), (1341119836,), (1341119867,), (1341119871,), (1341119874,), (1341119907,), (1341119909,), (1341119915,), (1341119920,), (1341119923,), (1341119941,), (1341119945,), (1341119949,), (1341119957,), (1341119961,), (1341119965,), (1341119997,), (1341119982,), (1341119984,), (1341119989,), (1341119994,), (1341120039,), (1341120042,), (1341120047,), (1341120056,), (1341120062,), (1341120106,), (1341120108,), (1341120113,), (1341120118,), (1341120122,), (1341120157,), (1341120159,), (1341120164,), (1341120169,), (1341120694,), (1341120882,), (1341121352,), (1341121392,), (1341121408,), (1341121413,), (1341121419,), (1341121478,), (1341121485,), (1341121496,), (1341121509,), (1341121516,), (1341121561,), (1341121563,), (1341121567,), (1341121572,), (1341121576,), (1341122037,), (1341122073,), (1341122158,), (1341122242,), (1341122325,), (1341122539,), (1341122601,), (1341122620,), (1341122692,), (1341122717,), (1341122774,), (1341122807,), (1341122867,), (1341122897,), (1341122967,), (1341123148,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'05032025': {'nb_upload': 44, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21054980]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] map_info['map_portfolio_photo'] : {21054980: [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257]} final : True mtd_id 4302 list_pids : [1340978337, 1340978028, 1340978026, 1340978019, 1340977950, 1340977942, 1340977938, 1340977931, 1340977893, 1340977882, 1340977871, 1340977867, 1340977849, 1340977841, 1340977833, 1340977826, 1340977822, 1340977811, 1340977778, 1340977774, 1340977756, 1340977752, 1340977747, 1340977743, 1340977739, 1340977734, 1340977693, 1340977657, 1340977649, 1340977644, 1340977635, 1340977491, 1340977489, 1340977484, 1340977472, 1340977447, 1340977425, 1340977170, 1340976452, 1340976427, 1340976417, 1340976284, 1340976277, 1340976257] Looping around the photos to save general results len do output : 1 /21054980Didn'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, '2641393') ('4302', '21054980', '1340978337', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393') ('4302', None, None, None, None, None, None, None, '2641393') ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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, '21054980', 'None', None, None, None, None, '2641393'), ('4302', '21054980', '1340978337', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978028', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978026', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340978019', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977950', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977942', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977938', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977931', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977893', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977882', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977871', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977867', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977849', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977841', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977833', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977826', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977822', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977811', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977778', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977774', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977756', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977752', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977747', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977743', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977739', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977734', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977693', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977657', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977649', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977644', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977635', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977491', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977489', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977484', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977472', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977447', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977425', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340977170', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976452', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976427', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976417', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976284', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976277', None, None, None, None, None, '2641393'), ('4302', '21054980', '1340976257', None, None, None, None, None, '2641393')] time used for this insertion : 2.2598934173583984 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.533203125 time spend to save output : 2.26043963432312 total time spend for step 5 : 6.79364275932312 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 (2641393) 3.57user 2.16system 0:24.74elapsed 23%CPU (0avgtext+0avgdata 167896maxresident)k 96inputs+37088outputs (63major+89610minor)pagefaults 0swaps