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 : 1854973 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 (2704265) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2704265) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825012 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2704265'] with mtr_portfolio_ids : ['21825012'] and first list_photo_ids : [] new path : /proc/1854973/ Name: python3 Umask: 0002 State: R (running) Tgid: 1854973 Ngid: 0 Pid: 1854973 PPid: 1854972 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1854973 NSpid: 1854973 NSpgid: 1853118 NSsid: 1853118 VmPeak: 1106928 kB VmSize: 1106928 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 97868 kB VmRSS: 97868 kB RssAnon: 59796 kB RssFile: 38072 kB RssShmem: 0 kB VmData: 865676 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 548 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 63 nonvoluntary_ctxt_switches: 136 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1854973', 'Ngid': '0', 'Pid': '1854973', 'PPid': '1854972', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1854973', 'NSpid': '1854973', 'NSpgid': '1853118', 'NSsid': '1853118', 'VmPeak': '1106928 kB', 'VmSize': '1106928 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '97868 kB', 'VmRSS': '97868 kB', 'RssAnon': '59796 kB', 'RssFile': '38072 kB', 'RssShmem': '0 kB', 'VmData': '865676 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '548 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '63', 'nonvoluntary_ctxt_switches': '136'} ('datou_batch_current', '1854973', '1106928', '0', '1106928', '865676', '97868', b'', 'marlene', '2704265') 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 (21825012) 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 (2704265 ) ) 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 (21825012) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1348168796, 'portfolio_id': 21825012}, {'photo_id': 1348168747, 'portfolio_id': 21825012}, {'photo_id': 1348168745, 'portfolio_id': 21825012}, {'photo_id': 1348168740, 'portfolio_id': 21825012}, {'photo_id': 1348168739, 'portfolio_id': 21825012}, {'photo_id': 1348168692, 'portfolio_id': 21825012}, {'photo_id': 1348168687, 'portfolio_id': 21825012}, {'photo_id': 1348168682, 'portfolio_id': 21825012}, {'photo_id': 1348168676, 'portfolio_id': 21825012}, {'photo_id': 1348168671, 'portfolio_id': 21825012}, {'photo_id': 1348168669, 'portfolio_id': 21825012}, {'photo_id': 1348168650, 'portfolio_id': 21825012}, {'photo_id': 1348168644, 'portfolio_id': 21825012}, {'photo_id': 1348168639, 'portfolio_id': 21825012}, {'photo_id': 1348168634, 'portfolio_id': 21825012}, {'photo_id': 1348168632, 'portfolio_id': 21825012}, {'photo_id': 1348168618, 'portfolio_id': 21825012}, {'photo_id': 1348168613, 'portfolio_id': 21825012}, {'photo_id': 1348168610, 'portfolio_id': 21825012}, {'photo_id': 1348168606, 'portfolio_id': 21825012}, {'photo_id': 1348168602, 'portfolio_id': 21825012}, {'photo_id': 1348168598, 'portfolio_id': 21825012}, {'photo_id': 1348168564, 'portfolio_id': 21825012}, {'photo_id': 1348168563, 'portfolio_id': 21825012}, {'photo_id': 1348168539, 'portfolio_id': 21825012}, {'photo_id': 1348168535, 'portfolio_id': 21825012}, {'photo_id': 1348168532, 'portfolio_id': 21825012}, {'photo_id': 1348168406, 'portfolio_id': 21825012}, {'photo_id': 1348168323, 'portfolio_id': 21825012}, {'photo_id': 1348168321, 'portfolio_id': 21825012}, {'photo_id': 1348168155, 'portfolio_id': 21825012}, {'photo_id': 1348167809, 'portfolio_id': 21825012}, {'photo_id': 1348167720, 'portfolio_id': 21825012}] map_portfolio_id_photo_id: {21825012: [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720]} ##### 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 : 1.1809906959533691 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Mar 29 05:35: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 After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21825012) 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 : 21825012 get user id for portfolio 21825012 get sub ptf for main ptf 21825012, type 3726 and hashtags ['autre_refus', 'Carton_brun', 'plastique', 'kraft', 'cartonnette', 'metal', 'Carton_gris', 'environnement', 'Teint_Dans_La_Masse', 'mal_croppe', 'papier', '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`=21825012 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','plastique','kraft','cartonnette','metal','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe','papier','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`=21825012 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','plastique','kraft','cartonnette','metal','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21825012, 'sub_port_id': 21825013, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342150, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'kraft': {'main_port_id': 21825012, 'sub_port_id': 21825014, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342151, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'papier': {'main_port_id': 21825012, 'sub_port_id': 21825015, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342152, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'plastique': {'main_port_id': 21825012, 'sub_port_id': 21825016, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342153, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'flou': {'main_port_id': 21825012, 'sub_port_id': 21825017, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342154, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'environnement': {'main_port_id': 21825012, 'sub_port_id': 21825018, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342155, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'autre_refus': {'main_port_id': 21825012, 'sub_port_id': 21825019, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342156, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'mal_croppe': {'main_port_id': 21825012, 'sub_port_id': 21825020, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342157, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'metal': {'main_port_id': 21825012, 'sub_port_id': 21825021, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342158, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'Carton_gris': {'main_port_id': 21825012, 'sub_port_id': 21825022, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342159, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'Teint_Dans_La_Masse': {'main_port_id': 21825012, 'sub_port_id': 21825023, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342160, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}, 'Carton_brun': {'main_port_id': 21825012, 'sub_port_id': 21825024, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342161, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 29), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 21825013 , 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=21825012 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 (21825013) result : ((1348168638,), (1348168762,), (1348168782,), (1348168845,), (1348168846,), (1348168847,), (1348168849,), (1348168850,), (1348168870,), (1348168871,), (1348168872,), (1348173483,), (1348173952,), (1348173953,), (1348173954,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825014 , 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=21825012 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 (21825014) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825015 , 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=21825012 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 (21825015) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825016 , 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=21825012 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 (21825016) result : ((1348168314,), (1348168640,), (1348168773,), (1348168783,), (1348168858,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825017 , 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=21825012 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 (21825017) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825018 , 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=21825012 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 (21825018) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825019 , 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=21825012 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 (21825019) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825020 , 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=21825012 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 (21825020) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825021 , 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=21825012 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 (21825021) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825022 , 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=21825012 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 (21825022) result : ((1348168760,), (1348168761,), (1348168781,), (1348168869,), (1348173941,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825023 , 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=21825012 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 (21825023) result : ((1348168312,), (1348168756,), (1348168757,), (1348168777,), (1348168778,), (1348168779,), (1348168842,), (1348168862,), (1348168863,), (1348168864,), (1348168865,), (1348168866,), (1348173927,), (1348173929,), (1348173930,), (1348173931,), (1348173932,), (1348173933,), (1348173935,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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 21825024 , 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=21825012 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 (21825024) result : ((1348168770,), (1348168853,), (1348168854,), (1348168855,), (1348168856,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (21825012) result : ((1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,)) 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`=21825012 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','plastique','kraft','cartonnette','metal','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe','papier','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`=21825012 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','Carton_brun','plastique','kraft','cartonnette','metal','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe','papier','flou')) AND mptpi.`min_score`=0.5 To do returned map {'cartonnette': {'main_port_id': 21825012, 'sub_port_id': 21825025, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342162, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'kraft': {'main_port_id': 21825012, 'sub_port_id': 21825026, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342163, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'papier': {'main_port_id': 21825012, 'sub_port_id': 21825027, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342164, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'plastique': {'main_port_id': 21825012, 'sub_port_id': 21825028, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342165, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'flou': {'main_port_id': 21825012, 'sub_port_id': 21825029, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342166, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'environnement': {'main_port_id': 21825012, 'sub_port_id': 21825030, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342167, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'autre_refus': {'main_port_id': 21825012, 'sub_port_id': 21825031, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342168, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'mal_croppe': {'main_port_id': 21825012, 'sub_port_id': 21825032, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342169, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'metal': {'main_port_id': 21825012, 'sub_port_id': 21825033, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342170, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'Carton_gris': {'main_port_id': 21825012, 'sub_port_id': 21825034, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342171, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'Teint_Dans_La_Masse': {'main_port_id': 21825012, 'sub_port_id': 21825035, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342172, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 13, 2), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}, 'Carton_brun': {'main_port_id': 21825012, 'sub_port_id': 21825036, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14342173, 'last_updated_at': datetime.datetime(2025, 3, 28, 5, 19, 30), 'last_updated_at_desc': datetime.datetime(2025, 3, 28, 5, 19, 30), 'last_updated_at_asc': datetime.datetime(2025, 3, 28, 5, 13, 2)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825025,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825013 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825026,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825014 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825027,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825015 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825028,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825016 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825029,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825017 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825030,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825018 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825031,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825019 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825032,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825020 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825033,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825021 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825034,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825022 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825035,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825023 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 21825036,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 21825024 lien utilise dans velours : https://www.fotonower.com/velours/21825025,21825026,21825027,21825028,21825029,21825030,21825031,21825032,21825033,21825034,21825035,21825036?tags=cartonnette,kraft,papier,plastique,flou,environnement,autre_refus,mal_croppe,metal,Carton_gris,Teint_Dans_La_Masse,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21825012]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] map_info['map_portfolio_photo'] : {21825012: [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720]} final : False mtd_id 4302 list_pids : [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] Looping around the photos to save general results len do output : 1 /21825012. 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, '2704265') ('4302', '21825012', '1348168796', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '21825012', "{'cartonnette': 21825013, 'kraft': 21825014, 'papier': 21825015, 'plastique': 21825016, 'flou': 21825017, 'environnement': 21825018, 'autre_refus': 21825019, 'mal_croppe': 21825020, 'metal': 21825021, 'Carton_gris': 21825022, 'Teint_Dans_La_Masse': 21825023, 'Carton_brun': 21825024}", None, None, None, None, '2704265'), ('4302', '21825012', '1348168796', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265')] time used for this insertion : 0.11794805526733398 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.1246538162231445 time spend to save output : 0.1184225082397461 total time spend for step 1 : 2.2430763244628906 step2:final Sat Mar 29 05:35:33 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 (21825012) 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 21825012 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1348167720,1348167809,1348168155,1348168323,1348168321,1348168406,1348168539,1348168535,1348168532,1348168564,1348168563,1348168618,1348168613,1348168610,1348168606,1348168602,1348168598,1348168650,1348168644,1348168639,1348168634,1348168632,1348168692,1348168687,1348168682,1348168676,1348168671,1348168669,1348168747,1348168745,1348168740,1348168739,1348168796); 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([21825012]) Inside saveOutput : final : False verbose : True original output for save of step final : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} new output for save of step final : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] map_info['map_portfolio_photo'] : {21825012: [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720]} final : False mtd_id 4302 list_pids : [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] Looping around the photos to save general results len do output : 33 /1348168796.Didn't retrieve data . /1348168747.Didn't retrieve data . /1348168745.Didn't retrieve data . /1348168740.Didn't retrieve data . /1348168739.Didn't retrieve data . /1348168692.Didn't retrieve data . /1348168687.Didn't retrieve data . /1348168682.Didn't retrieve data . /1348168676.Didn't retrieve data . /1348168671.Didn't retrieve data . /1348168669.Didn't retrieve data . /1348168650.Didn't retrieve data . /1348168644.Didn't retrieve data . /1348168639.Didn't retrieve data . /1348168634.Didn't retrieve data . /1348168632.Didn't retrieve data . /1348168618.Didn't retrieve data . /1348168613.Didn't retrieve data . /1348168610.Didn't retrieve data . /1348168606.Didn't retrieve data . /1348168602.Didn't retrieve data . /1348168598.Didn't retrieve data . /1348168564.Didn't retrieve data . /1348168563.Didn't retrieve data . /1348168539.Didn't retrieve data . /1348168535.Didn't retrieve data . /1348168532.Didn't retrieve data . /1348168406.Didn't retrieve data . /1348168323.Didn't retrieve data . /1348168321.Didn't retrieve data . /1348168155.Didn't retrieve data . /1348167809.Didn't retrieve data . /1348167720.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, '2704265') ('4302', '21825012', '1348168796', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 99 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', '21825012', '1348168796', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168747', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168745', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168740', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168739', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168692', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168687', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168682', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168676', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168671', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168669', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168650', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168644', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168639', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168634', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168632', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168618', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168613', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168610', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168606', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168602', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168598', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168564', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168563', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168539', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168535', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168532', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168406', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168323', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168321', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348168155', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348167809', '0.057575949094379485', None, None, None, None, '2704265'), ('4302', '21825012', '1348167720', '0.057575949094379485', None, None, None, None, '2704265')] time used for this insertion : 0.022011280059814453 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06817007064819336 time spend to save output : 0.023128509521484375 total time spend for step 2 : 0.09129858016967773 step3:velours_tree Sat Mar 29 05:35:33 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 : {21825012: [{'cartonnette': 21825013, 'kraft': 21825014, 'papier': 21825015, 'plastique': 21825016, 'flou': 21825017, 'environnement': 21825018, 'autre_refus': 21825019, 'mal_croppe': 21825020, 'metal': 21825021, 'Carton_gris': 21825022, 'Teint_Dans_La_Masse': 21825023, 'Carton_brun': 21825024}]} input_args_next_step : {21825012: ()} output_args : {21825012: [{'cartonnette': 21825013, 'kraft': 21825014, 'papier': 21825015, 'plastique': 21825016, 'flou': 21825017, 'environnement': 21825018, 'autre_refus': 21825019, 'mal_croppe': 21825020, 'metal': 21825021, 'Carton_gris': 21825022, 'Teint_Dans_La_Masse': 21825023, 'Carton_brun': 21825024}]} args : 21825012 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'cartonnette': 21825013, 'kraft': 21825014, 'papier': 21825015, 'plastique': 21825016, 'flou': 21825017, 'environnement': 21825018, 'autre_refus': 21825019, 'mal_croppe': 21825020, 'metal': 21825021, 'Carton_gris': 21825022, 'Teint_Dans_La_Masse': 21825023, 'Carton_brun': 21825024},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21825012) 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([21825012]) 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.37873220443725586 time spend to save output : 5.841255187988281e-05 total time spend for step 3 : 0.37879061698913574 step4:send_mail_cod Sat Mar 29 05:35:33 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 : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} input_args_next_step : {1348168796: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168796 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168747 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168745 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168740 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168739 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168692 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168687 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168682 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168676 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168671 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168669 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168650 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168644 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168639 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168634 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168632 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168618 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168613 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168610 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168606 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168602 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168598 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168564 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168563 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168539 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168535 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168532 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168406 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168323 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168321 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348168155 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348167809 depend.output_id : 0 input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ()} output_args : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',)} args : 1348167720 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 : {21825012: [{'cartonnette': 21825013, 'kraft': 21825014, 'papier': 21825015, 'plastique': 21825016, 'flou': 21825017, 'environnement': 21825018, 'autre_refus': 21825019, 'mal_croppe': 21825020, 'metal': 21825021, 'Carton_gris': 21825022, 'Teint_Dans_La_Masse': 21825023, 'Carton_brun': 21825024}]} input_args_next_step : {1348168796: ('0.057575949094379485',), 1348168747: ('0.057575949094379485',), 1348168745: ('0.057575949094379485',), 1348168740: ('0.057575949094379485',), 1348168739: ('0.057575949094379485',), 1348168692: ('0.057575949094379485',), 1348168687: ('0.057575949094379485',), 1348168682: ('0.057575949094379485',), 1348168676: ('0.057575949094379485',), 1348168671: ('0.057575949094379485',), 1348168669: ('0.057575949094379485',), 1348168650: ('0.057575949094379485',), 1348168644: ('0.057575949094379485',), 1348168639: ('0.057575949094379485',), 1348168634: ('0.057575949094379485',), 1348168632: ('0.057575949094379485',), 1348168618: ('0.057575949094379485',), 1348168613: ('0.057575949094379485',), 1348168610: ('0.057575949094379485',), 1348168606: ('0.057575949094379485',), 1348168602: ('0.057575949094379485',), 1348168598: ('0.057575949094379485',), 1348168564: ('0.057575949094379485',), 1348168563: ('0.057575949094379485',), 1348168539: ('0.057575949094379485',), 1348168535: ('0.057575949094379485',), 1348168532: ('0.057575949094379485',), 1348168406: ('0.057575949094379485',), 1348168323: ('0.057575949094379485',), 1348168321: ('0.057575949094379485',), 1348168155: ('0.057575949094379485',), 1348167809: ('0.057575949094379485',), 1348167720: ('0.057575949094379485',), 21825012: ()} output_args : {21825012: [{'cartonnette': 21825013, 'kraft': 21825014, 'papier': 21825015, 'plastique': 21825016, 'flou': 21825017, 'environnement': 21825018, 'autre_refus': 21825019, 'mal_croppe': 21825020, 'metal': 21825021, 'Carton_gris': 21825022, 'Teint_Dans_La_Masse': 21825023, 'Carton_brun': 21825024}]} args : 21825012 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 :34, first value : ('0.057575949094379485',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21825012) 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 (1348168796,1348168747,1348168745,1348168740,1348168739,1348168692,1348168687,1348168682,1348168676,1348168671,1348168669,1348168650,1348168644,1348168639,1348168634,1348168632,1348168618,1348168613,1348168610,1348168606,1348168602,1348168598,1348168564,1348168563,1348168539,1348168535,1348168532,1348168406,1348168323,1348168321,1348168155,1348167809,1348167720) Found this number of photos: 33 ##### Call download_photos : nb_thread : 5 begin to download photo : 1348167720 begin to download photo : 1348168535 begin to download photo : 1348168610 begin to download photo : 1348168650 begin to download photo : 1348168739 download finish for photo 1348168650 begin to download photo : 1348168669 download finish for photo 1348167720 begin to download photo : 1348167809 download finish for photo 1348168535 begin to download photo : 1348168539 download finish for photo 1348168610 begin to download photo : 1348168613 download finish for photo 1348168739 begin to download photo : 1348168740 download finish for photo 1348168669 begin to download photo : 1348168671 download finish for photo 1348168539 begin to download photo : 1348168563 download finish for photo 1348167809 begin to download photo : 1348168155 download finish for photo 1348168613 begin to download photo : 1348168618 download finish for photo 1348168740 begin to download photo : 1348168745 download finish for photo 1348168563 begin to download photo : 1348168564 download finish for photo 1348168671 begin to download photo : 1348168676 download finish for photo 1348168618 begin to download photo : 1348168632 download finish for photo 1348168155 begin to download photo : 1348168321 download finish for photo 1348168745 begin to download photo : 1348168747 download finish for photo 1348168632 begin to download photo : 1348168634 download finish for photo 1348168564 begin to download photo : 1348168598 download finish for photo 1348168321 begin to download photo : 1348168323 download finish for photo 1348168676 begin to download photo : 1348168682 download finish for photo 1348168747 begin to download photo : 1348168796 download finish for photo 1348168634 begin to download photo : 1348168639 download finish for photo 1348168682 begin to download photo : 1348168687 download finish for photo 1348168323 begin to download photo : 1348168406 download finish for photo 1348168598 begin to download photo : 1348168602 download finish for photo 1348168639 begin to download photo : 1348168644 download finish for photo 1348168687 begin to download photo : 1348168692 download finish for photo 1348168406 begin to download photo : 1348168532 download finish for photo 1348168796 download finish for photo 1348168602 begin to download photo : 1348168606 download finish for photo 1348168644 download finish for photo 1348168692 download finish for photo 1348168606 download finish for photo 1348168532 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 : 33 ; length of list_pids : 33 ; length of list_args : 33 results_Auto_P21825012_29-03-2025_05_35_34.pdf 21825013 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=21825013 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348168638: '1743135232_525390_1348168564_aafe16c898ac0211ddc1e440f5678b4e_rle_crop_3735599320_0.png', 1348168762: '1743135352_526387_1348168644_4e9a7b148260ff14584f622495d109b0_rle_crop_3735600093_0.png', 1348168782: '1743135372_526612_1348168613_c4a9b36d1210d116599e1b36ca475f3c_rle_crop_3735600284_0.png', 1348168845: '1743135472_527509_1348168747_4046b8b6e33033e2f180b97f5caf7b5b_rle_crop_3735600781_0.png', 1348168846: '1743135472_527509_1348168682_5c93913f87d6933d6ff39e16851a8cf1_rle_crop_3735600800_0.png', 1348168847: '1743135472_527509_1348168676_8cc3e58a29b77bdf28674df888c40fa7_rle_crop_3735600822_0.png', 1348168849: '1743135472_527509_1348168671_7864761fe78b98361470b219d0890c2c_rle_crop_3735600837_0.png', 1348168850: '1743135472_527509_1348168671_7864761fe78b98361470b219d0890c2c_rle_crop_3735600828_0.png', 1348168870: '1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600873_0.png', 1348168871: '1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600870_0.png', 1348168872: '1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600868_0.png', 1348173483: '1743138091_578503_1348168740_d335b93ba755717c47b01815fc0aab99_bib_crop_3735600868_0.jpg', 1348173952: '1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600873_0.png', 1348173953: '1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600870_0.png', 1348173954: '1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735644640_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/2f81211110e173501b0526582c61fbdd_8141344.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f3cf25d33af7d349365ef739a26d64e2_71358728.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/242b26dbf6c971aa92bae87ab11fd8a1_36675976.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0bef7a22724ba074767ab900b1904f00_33138909.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/4671af22415b1b2126d5f26bee9bea99_78515578.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f9e7d0ba023b6b2c4c27beb02936919f_81131712.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0f2f36c898791f6713c716e7138355d3_60004518.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/e018a18af3c042d01f5144623d9bcd65_36456724.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b36a460aca67ebfbb72ce7a204901753_58329317.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/434a8c9a84f0589e1316cd5e33016b8c_72240586.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3e593b3541789472e02aa1d0d804ce0a_57239187.png change filename to text .wget -O 12.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a5de6b749e82bb2a0bead00283090f4c_36543538.jpg change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b36a460aca67ebfbb72ce7a204901753_29278197.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/434a8c9a84f0589e1316cd5e33016b8c_61550506.png change filename to text .imagette218250131743222934/ imagette218250131743222934/1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600870_0.png.png imagette218250131743222934/1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600870_0.png.png imagette218250131743222934/1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600873_0.png.png imagette218250131743222934/1743135472_527509_1348168747_4046b8b6e33033e2f180b97f5caf7b5b_rle_crop_3735600781_0.png.png imagette218250131743222934/1743135472_527509_1348168682_5c93913f87d6933d6ff39e16851a8cf1_rle_crop_3735600800_0.png.png imagette218250131743222934/1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600868_0.png.png imagette218250131743222934/1743135472_527509_1348168671_7864761fe78b98361470b219d0890c2c_rle_crop_3735600837_0.png.png imagette218250131743222934/1743135232_525390_1348168564_aafe16c898ac0211ddc1e440f5678b4e_rle_crop_3735599320_0.png.png imagette218250131743222934/1743135352_526387_1348168644_4e9a7b148260ff14584f622495d109b0_rle_crop_3735600093_0.png.png imagette218250131743222934/1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600873_0.png.png imagette218250131743222934/1743135472_527509_1348168671_7864761fe78b98361470b219d0890c2c_rle_crop_3735600828_0.png.png imagette218250131743222934/1743135472_527509_1348168676_8cc3e58a29b77bdf28674df888c40fa7_rle_crop_3735600822_0.png.png imagette218250131743222934/1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735644640_0.png.png imagette218250131743222934/1743135372_526612_1348168613_c4a9b36d1210d116599e1b36ca475f3c_rle_crop_3735600284_0.png.png imagette218250131743222934/1743138091_578503_1348168740_d335b93ba755717c47b01815fc0aab99_bib_crop_3735600868_0.jpg.jpg imagette218250141743222936/ wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0e2dcba8d0e2390a89da53078c35474b_81127243.png imagette218250131743222934 21825014 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=21825014 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218250141743222936 21825016 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=21825016 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348168314: '1743134732_522290_1348167809_acc82a4a4e44e69d774963374fda2855_rle_crop_3735593057_0.png', 1348168640: '1743135232_525390_1348168564_aafe16c898ac0211ddc1e440f5678b4e_rle_crop_3735599324_0.png', 1348168773: '1743135388_858636_1348168563_049a4f2c80c3d134fd20b4dd1cdbf49c_rle_crop_3735600312_0.png', 1348168783: '1743135372_526612_1348168606_ee8d4eabae76c128c3ce7903ae14ff81_rle_crop_3735600327_0.png', 1348168858: '1743135472_527509_1348168747_4046b8b6e33033e2f180b97f5caf7b5b_rle_crop_3735600786_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a104d8b7033697c54823ca84becccdb5_36542933.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/52568eb45767b9003f8ddbcb0c4cc949_16696480.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/811ced3e244fda0a78ea66c845a9ee73_27740790.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8e5f65592f17ba995203eac03e2a5ecd_87893239.png change filename to text .imagette218250161743222936/ imagette218250161743222936/1743135388_858636_1348168563_049a4f2c80c3d134fd20b4dd1cdbf49c_rle_crop_3735600312_0.png.png imagette218250161743222936/1743134732_522290_1348167809_acc82a4a4e44e69d774963374fda2855_rle_crop_3735593057_0.png.png imagette218250161743222936/1743135372_526612_1348168606_ee8d4eabae76c128c3ce7903ae14ff81_rle_crop_3735600327_0.png.png imagette218250161743222936/1743135232_525390_1348168564_aafe16c898ac0211ddc1e440f5678b4e_rle_crop_3735599324_0.png.png imagette218250161743222936/1743135472_527509_1348168747_4046b8b6e33033e2f180b97f5caf7b5b_rle_crop_3735600786_0.png.png imagette218250171743222937/ imagette218250191743222937/ imagette218250201743222937/ imagette218250211743222937/ wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f89b92e693e330e2260639154e0f849f_22026154.png imagette218250161743222936 21825017 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=21825017 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218250171743222937 21825019 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=21825019 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218250191743222937 21825020 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=21825020 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218250201743222937 21825021 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=21825021 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette218250211743222937 21825022 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=21825022 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348168760: '1743135352_526387_1348168644_4e9a7b148260ff14584f622495d109b0_rle_crop_3735600095_0.png', 1348168761: '1743135352_526387_1348168639_4943934f8ae3dee540967d2d32cb6054_rle_crop_3735600105_0.png', 1348168781: '1743135372_526612_1348168602_ece5cb0c3434467f13fb1115fb214229_rle_crop_3735600332_0.png', 1348168869: '1743135492_527740_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600948_0.png', 1348173941: '1743138153_579589_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600948_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/7ade3e0a72dd25dd2c2cf42d327438d9_1737901.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/2e7c7c4679ee3e601ba4d019dbdf76bf_16406104.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a1b255c52e6697d662387a8b291e84b4_61531127.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3c2941356926a467bb971fb0e8bd5c15_58905126.png change filename to text .imagette218250221743222937/ imagette218250221743222937/1743135492_527740_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600948_0.png.png imagette218250221743222937/1743138153_579589_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600948_0.png.png imagette218250221743222937/1743135352_526387_1348168639_4943934f8ae3dee540967d2d32cb6054_rle_crop_3735600105_0.png.png imagette218250221743222937/1743135372_526612_1348168602_ece5cb0c3434467f13fb1115fb214229_rle_crop_3735600332_0.png.png imagette218250221743222937/1743135352_526387_1348168644_4e9a7b148260ff14584f622495d109b0_rle_crop_3735600095_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3c2941356926a467bb971fb0e8bd5c15_5168743.png imagette218250221743222937 21825023 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=21825023 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348168864: '1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600871_0.png', 1348173935: '1743138153_579589_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600952_0.png', 1348173933: '1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_bib_crop_3735600875_0.jpg', 1348173932: '1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735645214_0.png', 1348173931: '1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600871_0.png', 1348173930: '1743138153_579589_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600861_0.png', 1348173929: '1743138153_579589_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600856_0.png', 1348173927: '1743138153_579589_1348168745_7b5acb6453b4bca9a55a44d7b083da80_bib_crop_3735644532_0.jpg', 1348168866: '1743135492_527740_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600952_0.png', 1348168865: '1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600875_0.png', 1348168312: '1743134732_522290_1348167809_acc82a4a4e44e69d774963374fda2855_rle_crop_3735593060_0.png', 1348168863: '1743135492_527740_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600861_0.png', 1348168862: '1743135492_527740_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600856_0.png', 1348168842: '1743135472_527509_1348168669_b912655744cbe84a2b007b0ffb60338c_rle_crop_3735600847_0.png', 1348168779: '1743135372_526612_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c_rle_crop_3735600264_0.png', 1348168778: '1743135372_526612_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c_rle_crop_3735600271_0.png', 1348168777: '1743135372_526612_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c_rle_crop_3735600263_0.png', 1348168757: '1743135352_526387_1348168639_4943934f8ae3dee540967d2d32cb6054_rle_crop_3735600107_0.png', 1348168756: '1743135352_526387_1348168644_4e9a7b148260ff14584f622495d109b0_rle_crop_3735600100_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/782fc934c8500a8294db37ae78ba833b_91684116.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6b1a94bbcfd62de29eaa13de838e8b20_37183692.png change filename to text .wget -O 3.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3504a232abc85cc83856532ec30b065e_21656841.jpg change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/c8f085e79334266def6d6d626d4445d6_72181768.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/782fc934c8500a8294db37ae78ba833b_93090205.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/c0a58e0acdbdb4a2c85245e58ad2e52c_85546592.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/dcf12601e51c8fe156cfc81966d05b82_92748455.png change filename to text .wget -O 8.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/064873f46133f52ecd20c7f63ca70b34_29357130.jpg change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/6b1a94bbcfd62de29eaa13de838e8b20_79744025.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/b7dbabce2988016a98be0b7c28933e30_56298362.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/dd75c828fec315ec9538f1b049acc651_20771510.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/c0a58e0acdbdb4a2c85245e58ad2e52c_14577173.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/dcf12601e51c8fe156cfc81966d05b82_78815774.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/8a7721d90be3b4a7d9a62c073928e06b_91092112.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/37dc89e0c29442042db3566c00308915_145670.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/3bcdafa8abe1a82260604d1eb5f3c2cd_18750244.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/055413c7fd6688aeca2b46fc0aa08bd5_6297730.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/2a3efc67ed3f6eae663a0f6f33a84f76_12496325.png change filename to text .imagette218250231743222938/ imagette218250231743222938/1743135492_527740_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600952_0.png.png imagette218250231743222938/1743135492_527740_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600861_0.png.png imagette218250231743222938/1743135352_526387_1348168639_4943934f8ae3dee540967d2d32cb6054_rle_crop_3735600107_0.png.png imagette218250231743222938/1743135372_526612_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c_rle_crop_3735600263_0.png.png imagette218250231743222938/1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600875_0.png.png imagette218250231743222938/1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735645214_0.png.png imagette218250231743222938/1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_bib_crop_3735600875_0.jpg.jpg imagette218250231743222938/1743138153_579589_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600871_0.png.png imagette218250231743222938/1743134732_522290_1348167809_acc82a4a4e44e69d774963374fda2855_rle_crop_3735593060_0.png.png imagette218250231743222938/1743135372_526612_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c_rle_crop_3735600271_0.png.png imagette218250231743222938/1743138153_579589_1348168745_7b5acb6453b4bca9a55a44d7b083da80_bib_crop_3735644532_0.jpg.jpg imagette218250231743222938/1743135352_526387_1348168644_4e9a7b148260ff14584f622495d109b0_rle_crop_3735600100_0.png.png imagette218250231743222938/1743138153_579589_1348168739_dcc9c5be7442d79370485155278082a2_rle_crop_3735600952_0.png.png imagette218250231743222938/1743135492_527740_1348168740_d335b93ba755717c47b01815fc0aab99_rle_crop_3735600871_0.png.png imagette218250231743222938/1743135472_527509_1348168669_b912655744cbe84a2b007b0ffb60338c_rle_crop_3735600847_0.png.png imagette218250231743222938/1743135372_526612_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c_rle_crop_3735600264_0.png.png imagette218250231743222938/1743135492_527740_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600856_0.png.png imagette218250231743222938/1743138153_579589_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600861_0.png.png imagette218250231743222938/1743138153_579589_1348168745_7b5acb6453b4bca9a55a44d7b083da80_rle_crop_3735600856_0.png.png wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/030bad7345ffe9809b5b931a26d3398d_47121386.png imagette218250231743222938 21825024 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=21825024 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1348168770: '1743135388_858636_1348168618_a4ebaac222ba14ee1fb712b470439a42_rle_crop_3735600278_0.png', 1348168853: '1743135472_527509_1348168682_5c93913f87d6933d6ff39e16851a8cf1_rle_crop_3735600805_0.png', 1348168854: '1743135472_527509_1348168682_5c93913f87d6933d6ff39e16851a8cf1_rle_crop_3735600806_0.png', 1348168855: '1743135472_527509_1348168676_8cc3e58a29b77bdf28674df888c40fa7_rle_crop_3735600820_0.png', 1348168856: '1743135472_527509_1348168676_8cc3e58a29b77bdf28674df888c40fa7_rle_crop_3735600817_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/0bd9b6472db4a9e4e7d53d135c4ecc9e_54654825.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/037ca8195813597567ea9ce1f94d9a61_41756260.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/33a0f4b6275ac4910f6a772cb067a24a_54223657.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/55c7637595b986292b6bc4b2530dbe11_39576673.png change filename to text .imagette218250241743222940/ imagette218250241743222940/1743135472_527509_1348168676_8cc3e58a29b77bdf28674df888c40fa7_rle_crop_3735600817_0.png.png imagette218250241743222940/1743135472_527509_1348168676_8cc3e58a29b77bdf28674df888c40fa7_rle_crop_3735600820_0.png.png imagette218250241743222940/1743135472_527509_1348168682_5c93913f87d6933d6ff39e16851a8cf1_rle_crop_3735600805_0.png.png imagette218250241743222940/1743135472_527509_1348168682_5c93913f87d6933d6ff39e16851a8cf1_rle_crop_3735600806_0.png.png imagette218250241743222940/1743135388_858636_1348168618_a4ebaac222ba14ee1fb712b470439a42_rle_crop_3735600278_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/d24348226358365f419f619633418715_57257182.png imagette218250241743222940 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=21825012 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/21825025,21825026,21825027,21825028,21825029,21825030,21825031,21825032,21825033,21825034,21825035,21825036?tags=cartonnette,kraft,papier,plastique,flou,environnement,autre_refus,mal_croppe,metal,Carton_gris,Teint_Dans_La_Masse,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1348168796] : ('0.057575949094379485',) no score found for photo 1348168796 We are sending mail with results at report@fotonower.com args[1348168747] : ('0.057575949094379485',) no score found for photo 1348168747 We are sending mail with results at report@fotonower.com args[1348168745] : ('0.057575949094379485',) no score found for photo 1348168745 We are sending mail with results at report@fotonower.com args[1348168740] : ('0.057575949094379485',) no score found for photo 1348168740 We are sending mail with results at report@fotonower.com args[1348168739] : ('0.057575949094379485',) no score found for photo 1348168739 We are sending mail with results at report@fotonower.com args[1348168692] : ('0.057575949094379485',) no score found for photo 1348168692 We are sending mail with results at report@fotonower.com args[1348168687] : ('0.057575949094379485',) no score found for photo 1348168687 We are sending mail with results at report@fotonower.com args[1348168682] : ('0.057575949094379485',) no score found for photo 1348168682 We are sending mail with results at report@fotonower.com args[1348168676] : ('0.057575949094379485',) no score found for photo 1348168676 We are sending mail with results at report@fotonower.com args[1348168671] : ('0.057575949094379485',) no score found for photo 1348168671 We are sending mail with results at report@fotonower.com args[1348168669] : ('0.057575949094379485',) no score found for photo 1348168669 We are sending mail with results at report@fotonower.com args[1348168650] : ('0.057575949094379485',) no score found for photo 1348168650 We are sending mail with results at report@fotonower.com args[1348168644] : ('0.057575949094379485',) no score found for photo 1348168644 We are sending mail with results at report@fotonower.com args[1348168639] : ('0.057575949094379485',) no score found for photo 1348168639 We are sending mail with results at report@fotonower.com args[1348168634] : ('0.057575949094379485',) no score found for photo 1348168634 We are sending mail with results at report@fotonower.com args[1348168632] : ('0.057575949094379485',) no score found for photo 1348168632 We are sending mail with results at report@fotonower.com args[1348168618] : ('0.057575949094379485',) no score found for photo 1348168618 We are sending mail with results at report@fotonower.com args[1348168613] : ('0.057575949094379485',) no score found for photo 1348168613 We are sending mail with results at report@fotonower.com args[1348168610] : ('0.057575949094379485',) no score found for photo 1348168610 We are sending mail with results at report@fotonower.com args[1348168606] : ('0.057575949094379485',) no score found for photo 1348168606 We are sending mail with results at report@fotonower.com args[1348168602] : ('0.057575949094379485',) no score found for photo 1348168602 We are sending mail with results at report@fotonower.com args[1348168598] : ('0.057575949094379485',) no score found for photo 1348168598 We are sending mail with results at report@fotonower.com args[1348168564] : ('0.057575949094379485',) no score found for photo 1348168564 We are sending mail with results at report@fotonower.com args[1348168563] : ('0.057575949094379485',) no score found for photo 1348168563 We are sending mail with results at report@fotonower.com args[1348168539] : ('0.057575949094379485',) no score found for photo 1348168539 We are sending mail with results at report@fotonower.com args[1348168535] : ('0.057575949094379485',) no score found for photo 1348168535 We are sending mail with results at report@fotonower.com args[1348168532] : ('0.057575949094379485',) no score found for photo 1348168532 We are sending mail with results at report@fotonower.com args[1348168406] : ('0.057575949094379485',) no score found for photo 1348168406 We are sending mail with results at report@fotonower.com args[1348168323] : ('0.057575949094379485',) no score found for photo 1348168323 We are sending mail with results at report@fotonower.com args[1348168321] : ('0.057575949094379485',) no score found for photo 1348168321 We are sending mail with results at report@fotonower.com args[1348168155] : ('0.057575949094379485',) no score found for photo 1348168155 We are sending mail with results at report@fotonower.com args[1348167809] : ('0.057575949094379485',) no score found for photo 1348167809 We are sending mail with results at report@fotonower.com args[1348167720] : ('0.057575949094379485',) no score found for photo 1348167720 We are sending mail with results at report@fotonower.com refus_total : 0.057575949094379485 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=21825012 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_P21825012_29-03-2025_05_35_34.pdf results_Auto_P21825012_29-03-2025_05_35_34.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_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','21825012','results_Auto_P21825012_29-03-2025_05_35_34.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_34.pdf','pdf','','0.37','0.057575949094379485') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21825012]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] map_info['map_portfolio_photo'] : {21825012: [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720]} final : False mtd_id 4302 list_pids : [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] 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, '2704265') ('4302', '21825012', '1348168796', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 33 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', '21825012', '1348168796', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265')] time used for this insertion : 0.289442777633667 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.726906776428223 time spend to save output : 0.29002904891967773 total time spend for step 4 : 12.0169358253479 step5:split_time_score Sat Mar 29 05:35:45 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 : ['21825012'] 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 : [('21825012',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (21825012) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1348168739: {'path': 'temp/1743222933_1854973_1348168739_dcc9c5be7442d79370485155278082a2.jpg', 'extension': 'jpg'}, 1348168740: {'path': 'temp/1743222933_1854973_1348168740_d335b93ba755717c47b01815fc0aab99.jpg', 'extension': 'jpg'}, 1348168745: {'path': 'temp/1743222933_1854973_1348168745_7b5acb6453b4bca9a55a44d7b083da80.jpg', 'extension': 'jpg'}, 1348168747: {'path': 'temp/1743222933_1854973_1348168747_4046b8b6e33033e2f180b97f5caf7b5b.jpg', 'extension': 'jpg'}, 1348168796: {'path': 'temp/1743222933_1854973_1348168796_81847245199bfc27e5f59a8e738b70f0.jpg', 'extension': 'jpg'}, 1348168610: {'path': 'temp/1743222933_1854973_1348168610_3d03b78d0a4aa954318b7704e69be2d9.jpg', 'extension': 'jpg'}, 1348168613: {'path': 'temp/1743222933_1854973_1348168613_c4a9b36d1210d116599e1b36ca475f3c.jpg', 'extension': 'jpg'}, 1348168618: {'path': 'temp/1743222933_1854973_1348168618_a4ebaac222ba14ee1fb712b470439a42.jpg', 'extension': 'jpg'}, 1348168632: {'path': 'temp/1743222933_1854973_1348168632_78ac93fd10ef9bd389ad8d6bd96a9efb.jpg', 'extension': 'jpg'}, 1348168634: {'path': 'temp/1743222933_1854973_1348168634_ce8fd55c2201939c8290fbd7dc7f2c75.jpg', 'extension': 'jpg'}, 1348168639: {'path': 'temp/1743222933_1854973_1348168639_4943934f8ae3dee540967d2d32cb6054.jpg', 'extension': 'jpg'}, 1348168644: {'path': 'temp/1743222933_1854973_1348168644_4e9a7b148260ff14584f622495d109b0.jpg', 'extension': 'jpg'}, 1348168650: {'path': 'temp/1743222933_1854973_1348168650_52f828ab2f70f8fc378e6a97e6c3f62c.jpg', 'extension': 'jpg'}, 1348168669: {'path': 'temp/1743222933_1854973_1348168669_b912655744cbe84a2b007b0ffb60338c.jpg', 'extension': 'jpg'}, 1348168671: {'path': 'temp/1743222933_1854973_1348168671_7864761fe78b98361470b219d0890c2c.jpg', 'extension': 'jpg'}, 1348168676: {'path': 'temp/1743222933_1854973_1348168676_8cc3e58a29b77bdf28674df888c40fa7.jpg', 'extension': 'jpg'}, 1348168682: {'path': 'temp/1743222933_1854973_1348168682_5c93913f87d6933d6ff39e16851a8cf1.jpg', 'extension': 'jpg'}, 1348168687: {'path': 'temp/1743222933_1854973_1348168687_141122d0fb3be6085310bb6868236407.jpg', 'extension': 'jpg'}, 1348168692: {'path': 'temp/1743222933_1854973_1348168692_2ec8e8979c7ae781ad3c2da3fd4ac103.jpg', 'extension': 'jpg'}, 1348168535: {'path': 'temp/1743222933_1854973_1348168535_c866cab55ce66a84deb07e90087a833e.jpg', 'extension': 'jpg'}, 1348168539: {'path': 'temp/1743222933_1854973_1348168539_aebe0f7f6ee70b0a94dd001c4bb44335.jpg', 'extension': 'jpg'}, 1348168563: {'path': 'temp/1743222933_1854973_1348168563_049a4f2c80c3d134fd20b4dd1cdbf49c.jpg', 'extension': 'jpg'}, 1348168564: {'path': 'temp/1743222933_1854973_1348168564_aafe16c898ac0211ddc1e440f5678b4e.jpg', 'extension': 'jpg'}, 1348168598: {'path': 'temp/1743222933_1854973_1348168598_8eebddf2e978781668ee500b1f64af43.jpg', 'extension': 'jpg'}, 1348168602: {'path': 'temp/1743222933_1854973_1348168602_ece5cb0c3434467f13fb1115fb214229.jpg', 'extension': 'jpg'}, 1348168606: {'path': 'temp/1743222933_1854973_1348168606_ee8d4eabae76c128c3ce7903ae14ff81.jpg', 'extension': 'jpg'}, 1348167720: {'path': 'temp/1743222933_1854973_1348167720_a32f339d4f9f8782f062f23564f630c0.jpg', 'extension': 'jpg'}, 1348167809: {'path': 'temp/1743222933_1854973_1348167809_acc82a4a4e44e69d774963374fda2855.jpg', 'extension': 'jpg'}, 1348168155: {'path': 'temp/1743222933_1854973_1348168155_f00fa7ee8de0aa0a8624c06f2441dc8f.jpg', 'extension': 'jpg'}, 1348168321: {'path': 'temp/1743222933_1854973_1348168321_321700b2545f92b11f1419f6ab370ae0.jpg', 'extension': 'jpg'}, 1348168323: {'path': 'temp/1743222933_1854973_1348168323_cfe33fedfc847aff9ef3577454f06e26.jpg', 'extension': 'jpg'}, 1348168406: {'path': 'temp/1743222933_1854973_1348168406_4b341ed47451c5b345bf99ceb87cea3f.jpg', 'extension': 'jpg'}, 1348168532: {'path': 'temp/1743222933_1854973_1348168532_5f2768563a4c8063cede33df0e86f095.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 = 21825012; (('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 = 21825012 group by h (('05', 33),) 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=21825012 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 (21825012) 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 (21825012) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28032025 21825012 Nombre de photos uploadées : 33 / 23040 (0%) 28032025 21825012 Nombre de photos taguées (types de déchets): 0 / 33 (0%) 28032025 21825012 Nombre de photos taguées (volume) : 0 / 33 (0%) [{'photo_id': 1348167720, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/a32f339d4f9f8782f062f23564f630c0.jpg', 'username': None, 'uploaded_at': 1743134538, 'text': 'image_28032025_05_00_14_10200.jpg'}, {'photo_id': 1348167809, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/acc82a4a4e44e69d774963374fda2855.jpg', 'username': None, 'uploaded_at': 1743134599, 'text': 'image_28032025_05_01_05_010156m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1348168155, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/f00fa7ee8de0aa0a8624c06f2441dc8f.jpg', 'username': None, 'uploaded_at': 1743134658, 'text': 'image_28032025_05_01_14_009124m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1348168323, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/3/28/cfe33fedfc847aff9ef3577454f06e26.jpg', 'username': None, 'uploaded_at': 1743134778, 'text': 'image_28032025_05_02_15_10133.jpg'}] 0 [] elapsed_time : load_data_split_time_score 5.245208740234375e-06 elapsed_time : order_list_meta_photo_and_scores 1.4543533325195312e-05 ????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0019049644470214844 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 21825012, '2025-03-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1696037,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.04201245307922363 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= 1696037 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21821745, 'dashboard_result_id': 9740163, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21821745_29-03-2025_05_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21821746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21821747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21821748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21821749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21821750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21821751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21821752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21821753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21821754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21821755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21821756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21821757, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21822724, 'dashboard_result_id': 9740164, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822724_29-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822760, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21822918, 'dashboard_result_id': 9740165, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822918_29-03-2025_05_35_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822930, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21823291, 'dashboard_result_id': 9740166, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21823291_29-03-2025_05_35_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21823310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21823311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21823312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21823313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21823314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21823315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21823316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21823317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21823318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21823319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21823320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21823321, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21825012, 'dashboard_result_id': 9740167, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_28-03-2025_05_19_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825024, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21825194, 'dashboard_result_id': 9740168, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825194_28-03-2025_05_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21825231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825254, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21825619, 'dashboard_result_id': 9740169, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825619_28-03-2025_05_51_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21825668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825679, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21826095, 'dashboard_result_id': 9740170, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826095_28-03-2025_06_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21826130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826131, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21826531, 'dashboard_result_id': 9740171, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826531_28-03-2025_06_20_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21826535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826546, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21827231, 'dashboard_result_id': 9740172, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827231_28-03-2025_06_33_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827245, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21827676, 'dashboard_result_id': 9740173, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827676_28-03-2025_06_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827690, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21828132, 'dashboard_result_id': 9740174, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828132_28-03-2025_07_05_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21828135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21828138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828146, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21828818, 'dashboard_result_id': 9740175, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828818_28-03-2025_07_18_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21828874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21828885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828889, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21829052, 'dashboard_result_id': 9740176, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829052_28-03-2025_07_35_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829088, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21829737, 'dashboard_result_id': 9740177, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829737_28-03-2025_07_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829749, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21830405, 'dashboard_result_id': 9740178, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830405_28-03-2025_08_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830417, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21830835, 'dashboard_result_id': 9740179, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830835_28-03-2025_08_24_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830913, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21831557, 'dashboard_result_id': 9740180, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21831557_28-03-2025_08_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21831558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21831559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21831560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21831561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21831562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21831563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21831564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21831565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21831571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21831578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21831580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21831581, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21832228, 'dashboard_result_id': 9740181, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21832228_28-03-2025_08_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21832256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21832257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21832258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21832259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21832260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21832261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21832262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21832263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21832264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21832265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21832266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21832267, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21833105, 'dashboard_result_id': 9740182, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21833105_28-03-2025_09_08_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21833132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21833133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21833134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21833135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21833136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21833137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21833138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21833139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21833140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21833141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21833142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21833143, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21834766, 'dashboard_result_id': 9740183, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21834766_28-03-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21834827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21834828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21834829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21834831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21834832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21834833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21834834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21834835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21834836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21834837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21834838, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21835473, 'dashboard_result_id': 9740184, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21835473_28-03-2025_10_06_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21835491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21835492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21835493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21835494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21835495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21835496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21835497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21835498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21835499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21835500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21835501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21835502, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21836028, 'dashboard_result_id': 9740185, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836028_28-03-2025_10_19_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836066, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21836532, 'dashboard_result_id': 9740186, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836532_28-03-2025_10_33_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836575, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21837339, 'dashboard_result_id': 9740187, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21837339_28-03-2025_10_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21837397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21837398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21837399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21837400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21837401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21837402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21837403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21837404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21837405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21837406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21837407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21837408, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21838195, 'dashboard_result_id': 9740188, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21838195_28-03-2025_11_03_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21838212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21838213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21838214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21838215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21838216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21838217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21838218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21838219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21838220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21838221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21838222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21838223, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21839015, 'dashboard_result_id': 9740189, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21839015_28-03-2025_11_20_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21839021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21839022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21839023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21839024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21839025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21839026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21839027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21839029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21839030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21839031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21839032, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21840138, 'dashboard_result_id': 9740190, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840138_28-03-2025_11_33_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840263, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21840944, 'dashboard_result_id': 9740191, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840944_28-03-2025_11_50_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840956, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21841582, 'dashboard_result_id': 9740192, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21841582_28-03-2025_12_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21841609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21841610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21841611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21841613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21841614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21841615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21841616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21841617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21841618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21841619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21841620, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21842308, 'dashboard_result_id': 9740193, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21842308_29-03-2025_01_24_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21842315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21842316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21842317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21842318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21842319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21842320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21842321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21842322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21842323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21842324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21842325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21842326, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21844228, 'dashboard_result_id': 9740194, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844228_28-03-2025_14_06_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21844229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844240, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21844510, 'dashboard_result_id': 9740195, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844510_28-03-2025_14_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21844516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844522, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21845175, 'dashboard_result_id': 9740196, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_28-03-2025_14_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21845176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845187, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21845981, 'dashboard_result_id': 9740197, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845981_28-03-2025_14_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21845989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845998, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21846957, 'dashboard_result_id': 9740198, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21846957_28-03-2025_15_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21846958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21846959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21846960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21846961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21846962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21846963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21846964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21846965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21846966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21846967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21846968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21846969, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21847696, 'dashboard_result_id': 9740199, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21847696_28-03-2025_15_19_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21847778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21847779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21847780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21847781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21847783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21847784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21847785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21847786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21847787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21847788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21847789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21847790, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21848624, 'dashboard_result_id': 9740200, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21848624_28-03-2025_15_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21848653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21848654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21848655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21848656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21848657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21848658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21848659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21848660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21848661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21848662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21848663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21848664, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21849469, 'dashboard_result_id': 9740201, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21849469_28-03-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21849494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21849495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21849496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21849497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21849498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21849499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21849500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21849501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21849502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21849503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21849504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21849505, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21850043, 'dashboard_result_id': 9740202, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850043_28-03-2025_16_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21850046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21850050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850057, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21850641, 'dashboard_result_id': 9740203, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850641_28-03-2025_16_19_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21850714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21850719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850725, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21851507, 'dashboard_result_id': 9740204, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21851507_28-03-2025_16_34_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21851512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21851513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21851514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21851515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21851516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21851517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21851518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21851519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21851520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21851521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21851522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21851523, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21852656, 'dashboard_result_id': 9740205, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21852656_28-03-2025_16_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21852669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21852670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21852671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21852672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21852673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21852674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21852675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21852676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21852677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21852678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21852679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21852680, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21853251, 'dashboard_result_id': 9740206, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853251_28-03-2025_17_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21853252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853263, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21853805, 'dashboard_result_id': 9740207, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853805_28-03-2025_17_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21853836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853841, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21854369, 'dashboard_result_id': 9740208, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21854369_28-03-2025_17_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21854389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21854390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21854391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21854392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21854393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21854394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21854395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21854396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21854397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21854398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21854399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21854400, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21855305, 'dashboard_result_id': 9740209, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855305_28-03-2025_18_20_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855319, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21855796, 'dashboard_result_id': 9740210, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855796_28-03-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855810, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21856257, 'dashboard_result_id': 9740211, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21856257_28-03-2025_18_50_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21856264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21856265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21856266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21856267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21856268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21856269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21856270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21856271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21856272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21856273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21856274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21856275, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21857089, 'dashboard_result_id': 9740212, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857089_28-03-2025_19_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21857118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857128, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21857676, 'dashboard_result_id': 9740213, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857676_28-03-2025_19_19_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21857686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857712, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21858428, 'dashboard_result_id': 9740214, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21858428_28-03-2025_19_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21858482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21858483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21858484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21858485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21858486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21858487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21858488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21858489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21858490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21858491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21858492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21858493, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21859236, 'dashboard_result_id': 9740215, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859236_28-03-2025_19_50_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859355, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21859760, 'dashboard_result_id': 9740216, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859760_28-03-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859832, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21860213, 'dashboard_result_id': 9740217, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860213_28-03-2025_20_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21860275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860277, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21860849, 'dashboard_result_id': 9740218, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860849_28-03-2025_20_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21860851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860862, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21861323, 'dashboard_result_id': 9740219, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21861323_28-03-2025_21_09_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21861326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21861327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21861328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21861329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21861330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21861331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21861332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21861333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21861334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21861335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21861336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21861337, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21862772, 'dashboard_result_id': 9740220, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21862772_28-03-2025_22_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21862775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21862776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21862777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21862778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21862779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21862780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21862781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21862782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21862783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21862784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21862785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21862786, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21863389, 'dashboard_result_id': 9740221, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863389_28-03-2025_22_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863424, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21863815, 'dashboard_result_id': 9740222, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863815_28-03-2025_22_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863827, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21864373, 'dashboard_result_id': 9740223, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864373_28-03-2025_22_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21864375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21864376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21864377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21864378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21864379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21864380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21864381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21864382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21864383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21864384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21864385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21864386, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21864995, 'dashboard_result_id': 9740224, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864995_28-03-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21865014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865025, 'pht': 3726}}"}, {'dashboat_entry_day': 1696037, 'dashboard_run_id': 1707747, 'mtr_portfolio_id': 21865437, 'dashboard_result_id': 9740225, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21865437_28-03-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21865445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865450, '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 = 21821745 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2704261, 'mtr_portfolio_id': 21821745, 'created_at': datetime.datetime(2025, 3, 29, 5, 34, 28), 'result': '0.015021142312974132', 'result_long': None, 'result_double': None}] Qualite : 0.015021142312974132 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21821745 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21821745_29-03-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21821745 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21821745_29-03-2025_05_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21821746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21821747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21821748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21821749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21821750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21821751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21821752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21821753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21821754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21821755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21821756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21821757, 'pht': 3726}}" where mtr_portfolio_id = 21821745 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21821745 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740163, 0.015021142312974132, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21821745_29-03-2025_05_34_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21821746, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21821747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21821748, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21821749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21821750, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21821751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21821752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21821753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21821754, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21821755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21821756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21821757, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21822724 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2704262, 'mtr_portfolio_id': 21822724, 'created_at': datetime.datetime(2025, 3, 29, 5, 34, 31), 'result': '0.044792084784669145', 'result_long': None, 'result_double': None}] Qualite : 0.044792084784669145 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21822724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822724_29-03-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21822724 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822724_29-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822760, 'pht': 3726}}" where mtr_portfolio_id = 21822724 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21822724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740164, 0.044792084784669145, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822724_29-03-2025_05_34_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822749, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822750, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822753, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822754, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822755, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822756, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822757, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822758, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822759, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822760, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21822918 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2704263, 'mtr_portfolio_id': 21822918, 'created_at': datetime.datetime(2025, 3, 29, 5, 34, 59), 'result': '0.12698299729657306', 'result_long': None, 'result_double': None}] Qualite : 0.12698299729657306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21822918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822918_29-03-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21822918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822918_29-03-2025_05_35_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822930, 'pht': 3726}}" where mtr_portfolio_id = 21822918 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21822918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740165, 0.12698299729657306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21822918_29-03-2025_05_35_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21822919, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21822920, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21822921, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21822922, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21822923, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21822924, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21822925, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21822926, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21822927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21822928, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21822929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21822930, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21823291 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2704264, 'mtr_portfolio_id': 21823291, 'created_at': datetime.datetime(2025, 3, 29, 5, 35, 36), 'result': '0.04182816849050466', 'result_long': None, 'result_double': None}] Qualite : 0.04182816849050466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21823291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21823291_29-03-2025_05_35_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21823291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21823291_29-03-2025_05_35_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21823310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21823311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21823312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21823313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21823314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21823315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21823316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21823317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21823318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21823319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21823320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21823321, 'pht': 3726}}" where mtr_portfolio_id = 21823291 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21823291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740166, 0.04182816849050466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21823291_29-03-2025_05_35_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21823310, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21823311, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21823312, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21823313, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21823314, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21823315, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21823316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21823317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21823318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21823319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21823320, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21823321, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21825012 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2704265, 'mtr_portfolio_id': 21825012, 'created_at': datetime.datetime(2025, 3, 29, 5, 35, 33), 'result': '0.057575949094379485', 'result_long': None, 'result_double': None}] Qualite : 0.057575949094379485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21825012 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21825012 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825024, 'pht': 3726}}" where mtr_portfolio_id = 21825012 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21825012 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740167, 0.057575949094379485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825012_29-03-2025_05_35_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825013, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825014, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825018, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825021, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825022, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825023, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825024, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21825194 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700091, 'mtr_portfolio_id': 21825194, 'created_at': datetime.datetime(2025, 3, 28, 5, 34, 59), 'result': '0.040043441546509455', 'result_long': None, 'result_double': None}] Qualite : 0.040043441546509455 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21825194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825194_28-03-2025_05_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21825194 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825194_28-03-2025_05_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21825231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825254, 'pht': 3726}}" where mtr_portfolio_id = 21825194 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21825194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740168, 0.040043441546509455, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825194_28-03-2025_05_35_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21825231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825232, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825233, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825236, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21825241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825247, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825249, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825252, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825253, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825254, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21825619 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700252, 'mtr_portfolio_id': 21825619, 'created_at': datetime.datetime(2025, 3, 28, 5, 51, 27), 'result': '0.03285444833054389', 'result_long': None, 'result_double': None}] Qualite : 0.03285444833054389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21825619 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825619_28-03-2025_05_51_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21825619 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825619_28-03-2025_05_51_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21825668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825679, 'pht': 3726}}" where mtr_portfolio_id = 21825619 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21825619 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740169, 0.03285444833054389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21825619_28-03-2025_05_51_28.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21825668, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21825669, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21825670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21825671, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21825672, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21825673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21825674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21825675, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21825676, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21825677, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21825678, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21825679, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21826095 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700285, 'mtr_portfolio_id': 21826095, 'created_at': datetime.datetime(2025, 3, 28, 6, 4, 58), 'result': '0.04340896088423031', 'result_long': None, 'result_double': None}] Qualite : 0.04340896088423031 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21826095 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826095_28-03-2025_06_04_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21826095 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826095_28-03-2025_06_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21826130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826131, 'pht': 3726}}" where mtr_portfolio_id = 21826095 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21826095 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740170, 0.04340896088423031, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826095_28-03-2025_06_04_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826122, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826123, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826124, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826125, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826126, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826128, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826129, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21826130, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826131, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21826531 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700328, 'mtr_portfolio_id': 21826531, 'created_at': datetime.datetime(2025, 3, 28, 6, 20), 'result': '0.0431391098155912', 'result_long': None, 'result_double': None}] Qualite : 0.0431391098155912 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21826531 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826531_28-03-2025_06_20_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21826531 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826531_28-03-2025_06_20_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21826535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826546, 'pht': 3726}}" where mtr_portfolio_id = 21826531 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21826531 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740171, 0.0431391098155912, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21826531_28-03-2025_06_20_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21826535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21826536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21826537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21826538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21826539, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21826540, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21826541, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21826542, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21826543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21826544, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21826545, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21826546, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21827231 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700366, 'mtr_portfolio_id': 21827231, 'created_at': datetime.datetime(2025, 3, 28, 6, 33, 30), 'result': '0.03436121860343487', 'result_long': None, 'result_double': None}] Qualite : 0.03436121860343487 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21827231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827231_28-03-2025_06_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21827231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827231_28-03-2025_06_33_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827245, 'pht': 3726}}" where mtr_portfolio_id = 21827231 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21827231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740172, 0.03436121860343487, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827231_28-03-2025_06_33_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827234, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827235, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827236, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827237, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827238, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827239, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827240, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827241, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827242, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827243, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827244, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827245, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21827676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700398, 'mtr_portfolio_id': 21827676, 'created_at': datetime.datetime(2025, 3, 28, 6, 39), 'result': '0.0390455383254466', 'result_long': None, 'result_double': None}] Qualite : 0.0390455383254466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21827676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827676_28-03-2025_06_39_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21827676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827676_28-03-2025_06_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827690, 'pht': 3726}}" where mtr_portfolio_id = 21827676 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21827676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740173, 0.0390455383254466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21827676_28-03-2025_06_39_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21827679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21827680, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21827681, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21827682, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21827683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21827684, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21827685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21827686, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21827687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21827688, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21827689, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21827690, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21828132 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700430, 'mtr_portfolio_id': 21828132, 'created_at': datetime.datetime(2025, 3, 28, 7, 5, 3), 'result': '0.05113291379586412', 'result_long': None, 'result_double': None}] Qualite : 0.05113291379586412 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21828132 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828132_28-03-2025_07_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21828132 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828132_28-03-2025_07_05_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21828135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21828138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828146, 'pht': 3726}}" where mtr_portfolio_id = 21828132 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21828132 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740174, 0.05113291379586412, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828132_28-03-2025_07_05_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21828135, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828137, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21828138, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828139, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828142, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828143, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828144, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828145, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828146, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21828818 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700548, 'mtr_portfolio_id': 21828818, 'created_at': datetime.datetime(2025, 3, 28, 7, 18, 1), 'result': '0.021994380856805367', 'result_long': None, 'result_double': None}] Qualite : 0.021994380856805367 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21828818 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828818_28-03-2025_07_18_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21828818 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828818_28-03-2025_07_18_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21828874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21828885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828889, 'pht': 3726}}" where mtr_portfolio_id = 21828818 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21828818 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740175, 0.021994380856805367, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21828818_28-03-2025_07_18_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21828874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21828875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21828877, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21828878, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21828879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21828881, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21828882, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21828883, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21828885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21828886, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21828887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21828889, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21829052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700568, 'mtr_portfolio_id': 21829052, 'created_at': datetime.datetime(2025, 3, 28, 7, 35), 'result': '0.03935113115953355', 'result_long': None, 'result_double': None}] Qualite : 0.03935113115953355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21829052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829052_28-03-2025_07_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21829052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829052_28-03-2025_07_35_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829088, 'pht': 3726}}" where mtr_portfolio_id = 21829052 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21829052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740176, 0.03935113115953355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829052_28-03-2025_07_35_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829077, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829078, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829080, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829081, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829087, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829088, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21829737 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700620, 'mtr_portfolio_id': 21829737, 'created_at': datetime.datetime(2025, 3, 28, 7, 49), 'result': '0.03764743697443068', 'result_long': None, 'result_double': None}] Qualite : 0.03764743697443068 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21829737 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829737_28-03-2025_07_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21829737 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829737_28-03-2025_07_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829749, 'pht': 3726}}" where mtr_portfolio_id = 21829737 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21829737 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740177, 0.03764743697443068, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21829737_28-03-2025_07_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21829738, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21829739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21829740, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21829741, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21829742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21829743, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21829744, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21829745, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21829746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21829747, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21829748, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21829749, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21830405 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700653, 'mtr_portfolio_id': 21830405, 'created_at': datetime.datetime(2025, 3, 28, 8, 4, 59), 'result': '0.04135452742166541', 'result_long': None, 'result_double': None}] Qualite : 0.04135452742166541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21830405 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830405_28-03-2025_08_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21830405 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830405_28-03-2025_08_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830417, 'pht': 3726}}" where mtr_portfolio_id = 21830405 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21830405 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740178, 0.04135452742166541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830405_28-03-2025_08_04_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830406, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830407, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830408, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830409, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830410, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830417, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21830835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700702, 'mtr_portfolio_id': 21830835, 'created_at': datetime.datetime(2025, 3, 28, 8, 24, 28), 'result': '0.045387703964384', 'result_long': None, 'result_double': None}] Qualite : 0.045387703964384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21830835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830835_28-03-2025_08_24_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21830835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830835_28-03-2025_08_24_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830913, 'pht': 3726}}" where mtr_portfolio_id = 21830835 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21830835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740179, 0.045387703964384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21830835_28-03-2025_08_24_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21830902, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21830903, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21830904, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21830905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21830906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21830907, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21830908, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21830909, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21830910, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21830911, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21830912, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21830913, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21831557 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700748, 'mtr_portfolio_id': 21831557, 'created_at': datetime.datetime(2025, 3, 28, 8, 35), 'result': '0.03915753484836301', 'result_long': None, 'result_double': None}] Qualite : 0.03915753484836301 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21831557 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21831557_28-03-2025_08_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21831557 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21831557_28-03-2025_08_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21831558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21831559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21831560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21831561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21831562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21831563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21831564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21831565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21831571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21831578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21831580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21831581, 'pht': 3726}}" where mtr_portfolio_id = 21831557 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21831557 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740180, 0.03915753484836301, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21831557_28-03-2025_08_35_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21831558, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21831559, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21831560, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21831561, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21831562, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21831563, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21831564, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21831565, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21831571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21831578, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21831580, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21831581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21832228 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700814, 'mtr_portfolio_id': 21832228, 'created_at': datetime.datetime(2025, 3, 28, 8, 49, 1), 'result': '0.037000482527799056', 'result_long': None, 'result_double': None}] Qualite : 0.037000482527799056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21832228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21832228_28-03-2025_08_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21832228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21832228_28-03-2025_08_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21832256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21832257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21832258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21832259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21832260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21832261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21832262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21832263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21832264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21832265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21832266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21832267, 'pht': 3726}}" where mtr_portfolio_id = 21832228 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21832228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740181, 0.037000482527799056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21832228_28-03-2025_08_49_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21832256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21832257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21832258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21832259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21832260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21832261, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21832262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21832263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21832264, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21832265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21832266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21832267, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21833105 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2700868, 'mtr_portfolio_id': 21833105, 'created_at': datetime.datetime(2025, 3, 28, 9, 8, 57), 'result': '0.058357821355494624', 'result_long': None, 'result_double': None}] Qualite : 0.058357821355494624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21833105 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21833105_28-03-2025_09_08_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21833105 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21833105_28-03-2025_09_08_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21833132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21833133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21833134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21833135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21833136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21833137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21833138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21833139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21833140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21833141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21833142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21833143, 'pht': 3726}}" where mtr_portfolio_id = 21833105 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21833105 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740182, 0.058357821355494624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21833105_28-03-2025_09_08_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21833132, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21833133, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21833134, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21833135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21833136, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21833137, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21833138, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21833139, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21833140, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21833141, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21833142, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21833143, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21834766 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701008, 'mtr_portfolio_id': 21834766, 'created_at': datetime.datetime(2025, 3, 28, 9, 49), 'result': '0.05082854615004641', 'result_long': None, 'result_double': None}] Qualite : 0.05082854615004641 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21834766 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21834766_28-03-2025_09_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21834766 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21834766_28-03-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21834827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21834828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21834829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21834831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21834832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21834833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21834834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21834835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21834836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21834837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21834838, 'pht': 3726}}" where mtr_portfolio_id = 21834766 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21834766 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740183, 0.05082854615004641, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21834766_28-03-2025_09_49_00.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21834827, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21834828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21834829, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21834830, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21834831, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21834832, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21834833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21834834, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21834835, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21834836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21834837, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21834838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21835473 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701039, 'mtr_portfolio_id': 21835473, 'created_at': datetime.datetime(2025, 3, 28, 10, 6, 27), 'result': '0.047851354905441096', 'result_long': None, 'result_double': None}] Qualite : 0.047851354905441096 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21835473 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21835473_28-03-2025_10_06_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21835473 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21835473_28-03-2025_10_06_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21835491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21835492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21835493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21835494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21835495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21835496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21835497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21835498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21835499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21835500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21835501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21835502, 'pht': 3726}}" where mtr_portfolio_id = 21835473 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21835473 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740184, 0.047851354905441096, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21835473_28-03-2025_10_06_28.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21835491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21835492, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21835493, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21835494, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21835495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21835496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21835497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21835498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21835499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21835500, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21835501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21835502, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21836028 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701100, 'mtr_portfolio_id': 21836028, 'created_at': datetime.datetime(2025, 3, 28, 10, 19, 58), 'result': '0.06311253842733847', 'result_long': None, 'result_double': None}] Qualite : 0.06311253842733847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21836028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836028_28-03-2025_10_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21836028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836028_28-03-2025_10_19_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836066, 'pht': 3726}}" where mtr_portfolio_id = 21836028 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21836028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740185, 0.06311253842733847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836028_28-03-2025_10_19_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836059, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836061, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836062, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836064, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836065, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836066, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21836532 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701167, 'mtr_portfolio_id': 21836532, 'created_at': datetime.datetime(2025, 3, 28, 10, 33, 57), 'result': '0.06264991746557422', 'result_long': None, 'result_double': None}] Qualite : 0.06264991746557422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21836532 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836532_28-03-2025_10_33_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21836532 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836532_28-03-2025_10_33_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836575, 'pht': 3726}}" where mtr_portfolio_id = 21836532 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21836532 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740186, 0.06264991746557422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21836532_28-03-2025_10_33_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21836564, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21836565, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21836566, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21836567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21836568, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21836569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21836570, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21836571, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21836572, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21836573, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21836574, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21836575, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21837339 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701238, 'mtr_portfolio_id': 21837339, 'created_at': datetime.datetime(2025, 3, 28, 10, 48, 59), 'result': '0.04548069760178331', 'result_long': None, 'result_double': None}] Qualite : 0.04548069760178331 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21837339 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21837339_28-03-2025_10_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21837339 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21837339_28-03-2025_10_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21837397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21837398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21837399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21837400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21837401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21837402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21837403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21837404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21837405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21837406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21837407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21837408, 'pht': 3726}}" where mtr_portfolio_id = 21837339 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21837339 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740187, 0.04548069760178331, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21837339_28-03-2025_10_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21837397, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21837398, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21837399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21837400, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21837401, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21837402, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21837403, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21837404, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21837405, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21837406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21837407, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21837408, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21838195 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701293, 'mtr_portfolio_id': 21838195, 'created_at': datetime.datetime(2025, 3, 28, 11, 3, 29), 'result': '0.026421518914189656', 'result_long': None, 'result_double': None}] Qualite : 0.026421518914189656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21838195 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21838195_28-03-2025_11_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21838195 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21838195_28-03-2025_11_03_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21838212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21838213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21838214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21838215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21838216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21838217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21838218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21838219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21838220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21838221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21838222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21838223, 'pht': 3726}}" where mtr_portfolio_id = 21838195 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21838195 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740188, 0.026421518914189656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21838195_28-03-2025_11_03_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21838212, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21838213, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21838214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21838215, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21838216, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21838217, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21838218, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21838219, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21838220, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21838221, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21838222, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21838223, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21839015 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701403, 'mtr_portfolio_id': 21839015, 'created_at': datetime.datetime(2025, 3, 28, 11, 20, 58), 'result': '0.038893714476781555', 'result_long': None, 'result_double': None}] Qualite : 0.038893714476781555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21839015 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21839015_28-03-2025_11_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21839015 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21839015_28-03-2025_11_20_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21839021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21839022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21839023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21839024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21839025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21839026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21839027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21839029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21839030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21839031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21839032, 'pht': 3726}}" where mtr_portfolio_id = 21839015 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21839015 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740189, 0.038893714476781555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21839015_28-03-2025_11_20_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21839021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21839022, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21839023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21839024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21839025, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21839026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21839027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21839028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21839029, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21839030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21839031, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21839032, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21840138 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701463, 'mtr_portfolio_id': 21840138, 'created_at': datetime.datetime(2025, 3, 28, 11, 33, 27), 'result': '0.05185217229605837', 'result_long': None, 'result_double': None}] Qualite : 0.05185217229605837 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21840138 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840138_28-03-2025_11_33_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21840138 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840138_28-03-2025_11_33_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840263, 'pht': 3726}}" where mtr_portfolio_id = 21840138 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21840138 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740190, 0.05185217229605837, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840138_28-03-2025_11_33_28.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840254, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840255, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840258, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840259, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840261, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21840944 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701529, 'mtr_portfolio_id': 21840944, 'created_at': datetime.datetime(2025, 3, 28, 11, 50, 30), 'result': '0.03621633057195716', 'result_long': None, 'result_double': None}] Qualite : 0.03621633057195716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21840944 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840944_28-03-2025_11_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21840944 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840944_28-03-2025_11_50_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840956, 'pht': 3726}}" where mtr_portfolio_id = 21840944 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21840944 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740191, 0.03621633057195716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21840944_28-03-2025_11_50_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21840945, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21840946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21840947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21840948, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21840949, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21840950, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21840951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21840952, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21840953, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21840954, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21840955, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21840956, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21841582 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701567, 'mtr_portfolio_id': 21841582, 'created_at': datetime.datetime(2025, 3, 28, 12, 4, 59), 'result': '0.04528516208332745', 'result_long': None, 'result_double': None}] Qualite : 0.04528516208332745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21841582 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21841582_28-03-2025_12_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21841582 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21841582_28-03-2025_12_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21841609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21841610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21841611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21841613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21841614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21841615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21841616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21841617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21841618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21841619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21841620, 'pht': 3726}}" where mtr_portfolio_id = 21841582 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21841582 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740192, 0.04528516208332745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21841582_28-03-2025_12_05_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21841609, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21841610, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21841611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21841612, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21841613, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21841614, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21841615, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21841616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21841617, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21841618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21841619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21841620, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21842308 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701637, 'mtr_portfolio_id': 21842308, 'created_at': datetime.datetime(2025, 3, 29, 1, 24, 29), 'result': '0.0501362949743371', 'result_long': None, 'result_double': None}] Qualite : 0.0501362949743371 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21842308 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21842308_29-03-2025_01_24_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21842308 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21842308_29-03-2025_01_24_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21842315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21842316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21842317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21842318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21842319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21842320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21842321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21842322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21842323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21842324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21842325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21842326, 'pht': 3726}}" where mtr_portfolio_id = 21842308 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21842308 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740193, 0.0501362949743371, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21842308_29-03-2025_01_24_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21842315, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21842316, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21842317, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21842318, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21842319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21842320, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21842321, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21842322, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21842323, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21842324, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21842325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21842326, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21844228 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701813, 'mtr_portfolio_id': 21844228, 'created_at': datetime.datetime(2025, 3, 28, 14, 6, 57), 'result': '0.03009378484495048', 'result_long': None, 'result_double': None}] Qualite : 0.03009378484495048 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21844228 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844228_28-03-2025_14_06_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21844228 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844228_28-03-2025_14_06_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21844229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844240, 'pht': 3726}}" where mtr_portfolio_id = 21844228 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21844228 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740194, 0.03009378484495048, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844228_28-03-2025_14_06_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21844229, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844231, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844233, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844235, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844236, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844237, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844238, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844239, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844240, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21844510 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701891, 'mtr_portfolio_id': 21844510, 'created_at': datetime.datetime(2025, 3, 28, 14, 19), 'result': '0.01817350413726024', 'result_long': None, 'result_double': None}] Qualite : 0.01817350413726024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21844510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844510_28-03-2025_14_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21844510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844510_28-03-2025_14_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21844516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844522, 'pht': 3726}}" where mtr_portfolio_id = 21844510 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21844510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740195, 0.01817350413726024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21844510_28-03-2025_14_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21844511, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21844512, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21844513, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21844514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21844515, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21844516, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21844517, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21844518, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21844519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21844520, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21844521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21844522, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21845175 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2701934, 'mtr_portfolio_id': 21845175, 'created_at': datetime.datetime(2025, 3, 28, 14, 35), 'result': '0.03391887589980472', 'result_long': None, 'result_double': None}] Qualite : 0.03391887589980472 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21845175 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_28-03-2025_14_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21845175 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_28-03-2025_14_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21845176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845187, 'pht': 3726}}" where mtr_portfolio_id = 21845175 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21845175 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740196, 0.03391887589980472, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845175_28-03-2025_14_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21845176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845177, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845179, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845180, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845181, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845182, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845184, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845185, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845187, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21845981 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702004, 'mtr_portfolio_id': 21845981, 'created_at': datetime.datetime(2025, 3, 28, 14, 48, 57), 'result': '0.0469128167528036', 'result_long': None, 'result_double': None}] Qualite : 0.0469128167528036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21845981 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845981_28-03-2025_14_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21845981 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845981_28-03-2025_14_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21845989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845998, 'pht': 3726}}" where mtr_portfolio_id = 21845981 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21845981 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740197, 0.0469128167528036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21845981_28-03-2025_14_48_57.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21845987, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21845988, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21845989, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21845990, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21845991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21845992, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21845993, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21845994, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21845995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21845996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21845997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21845998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21846957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702058, 'mtr_portfolio_id': 21846957, 'created_at': datetime.datetime(2025, 3, 28, 15, 5), 'result': '0.050657726501210816', 'result_long': None, 'result_double': None}] Qualite : 0.050657726501210816 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21846957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21846957_28-03-2025_15_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21846957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21846957_28-03-2025_15_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21846958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21846959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21846960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21846961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21846962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21846963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21846964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21846965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21846966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21846967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21846968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21846969, 'pht': 3726}}" where mtr_portfolio_id = 21846957 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21846957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740198, 0.050657726501210816, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21846957_28-03-2025_15_05_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21846958, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21846959, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21846960, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21846961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21846962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21846963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21846964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21846965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21846966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21846967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21846968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21846969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21847696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702116, 'mtr_portfolio_id': 21847696, 'created_at': datetime.datetime(2025, 3, 28, 15, 19, 59), 'result': '0.036905367621864665', 'result_long': None, 'result_double': None}] Qualite : 0.036905367621864665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21847696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21847696_28-03-2025_15_19_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21847696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21847696_28-03-2025_15_19_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21847778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21847779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21847780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21847781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21847783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21847784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21847785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21847786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21847787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21847788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21847789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21847790, 'pht': 3726}}" where mtr_portfolio_id = 21847696 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21847696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740199, 0.036905367621864665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21847696_28-03-2025_15_19_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21847778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21847779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21847780, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21847781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21847783, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21847784, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21847785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21847786, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21847787, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21847788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21847789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21847790, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21848624 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702167, 'mtr_portfolio_id': 21848624, 'created_at': datetime.datetime(2025, 3, 28, 15, 33, 30), 'result': '0.042084160713128003', 'result_long': None, 'result_double': None}] Qualite : 0.042084160713128003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21848624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21848624_28-03-2025_15_33_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21848624 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21848624_28-03-2025_15_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21848653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21848654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21848655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21848656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21848657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21848658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21848659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21848660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21848661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21848662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21848663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21848664, 'pht': 3726}}" where mtr_portfolio_id = 21848624 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21848624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740200, 0.042084160713128003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21848624_28-03-2025_15_33_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21848653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21848654, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21848655, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21848656, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21848657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21848658, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21848659, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21848660, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21848661, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21848662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21848663, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21848664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21849469 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702230, 'mtr_portfolio_id': 21849469, 'created_at': datetime.datetime(2025, 3, 28, 15, 48, 58), 'result': '0.05391108857243751', 'result_long': None, 'result_double': None}] Qualite : 0.05391108857243751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21849469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21849469_28-03-2025_15_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21849469 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21849469_28-03-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21849494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21849495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21849496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21849497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21849498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21849499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21849500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21849501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21849502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21849503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21849504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21849505, 'pht': 3726}}" where mtr_portfolio_id = 21849469 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21849469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740201, 0.05391108857243751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21849469_28-03-2025_15_48_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21849494, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21849495, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21849496, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21849497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21849498, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21849499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21849500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21849501, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21849502, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21849503, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21849504, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21849505, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21850043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702266, 'mtr_portfolio_id': 21850043, 'created_at': datetime.datetime(2025, 3, 28, 16, 4, 59), 'result': '0.04285926714566389', 'result_long': None, 'result_double': None}] Qualite : 0.04285926714566389 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21850043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850043_28-03-2025_16_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21850043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850043_28-03-2025_16_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21850046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21850050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850057, 'pht': 3726}}" where mtr_portfolio_id = 21850043 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21850043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740202, 0.04285926714566389, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850043_28-03-2025_16_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21850046, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850047, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850049, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21850050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850051, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850054, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850055, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850056, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850057, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21850641 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702345, 'mtr_portfolio_id': 21850641, 'created_at': datetime.datetime(2025, 3, 28, 16, 19, 2), 'result': '0.042389006368240355', 'result_long': None, 'result_double': None}] Qualite : 0.042389006368240355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21850641 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850641_28-03-2025_16_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21850641 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850641_28-03-2025_16_19_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21850714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21850719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850725, 'pht': 3726}}" where mtr_portfolio_id = 21850641 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21850641 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740203, 0.042389006368240355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21850641_28-03-2025_16_19_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 21850714, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21850715, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21850716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21850717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21850718, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21850719, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21850720, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21850721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21850722, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21850723, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21850724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21850725, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21851507 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702391, 'mtr_portfolio_id': 21851507, 'created_at': datetime.datetime(2025, 3, 28, 16, 34, 2), 'result': '0.05890554238436326', 'result_long': None, 'result_double': None}] Qualite : 0.05890554238436326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21851507 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21851507_28-03-2025_16_34_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21851507 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21851507_28-03-2025_16_34_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21851512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21851513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21851514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21851515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21851516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21851517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21851518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21851519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21851520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21851521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21851522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21851523, 'pht': 3726}}" where mtr_portfolio_id = 21851507 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21851507 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740204, 0.05890554238436326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21851507_28-03-2025_16_34_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21851512, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21851513, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21851514, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21851515, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21851516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21851517, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21851518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21851519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21851520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21851521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21851522, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21851523, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21852656 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702476, 'mtr_portfolio_id': 21852656, 'created_at': datetime.datetime(2025, 3, 28, 16, 51, 59), 'result': '0.044224478919271', 'result_long': None, 'result_double': None}] Qualite : 0.044224478919271 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21852656 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21852656_28-03-2025_16_52_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21852656 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21852656_28-03-2025_16_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21852669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21852670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21852671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21852672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21852673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21852674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21852675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21852676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21852677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21852678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21852679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21852680, 'pht': 3726}}" where mtr_portfolio_id = 21852656 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21852656 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740205, 0.044224478919271, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21852656_28-03-2025_16_52_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21852669, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21852670, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21852671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21852672, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21852673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21852674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21852675, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21852676, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21852677, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21852678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21852679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21852680, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21853251 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702506, 'mtr_portfolio_id': 21853251, 'created_at': datetime.datetime(2025, 3, 28, 17, 5), 'result': '0.045360200753955235', 'result_long': None, 'result_double': None}] Qualite : 0.045360200753955235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21853251 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853251_28-03-2025_17_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21853251 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853251_28-03-2025_17_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21853252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853263, 'pht': 3726}}" where mtr_portfolio_id = 21853251 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21853251 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740206, 0.045360200753955235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853251_28-03-2025_17_05_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 21853252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853254, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853256, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853258, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853259, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853261, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853262, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853263, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21853805 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702562, 'mtr_portfolio_id': 21853805, 'created_at': datetime.datetime(2025, 3, 28, 17, 18, 59), 'result': '0.05588539176362153', 'result_long': None, 'result_double': None}] Qualite : 0.05588539176362153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21853805 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853805_28-03-2025_17_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21853805 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853805_28-03-2025_17_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21853836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853841, 'pht': 3726}}" where mtr_portfolio_id = 21853805 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21853805 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740207, 0.05588539176362153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21853805_28-03-2025_17_19_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21853830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21853831, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21853832, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21853833, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21853834, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21853835, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21853836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21853837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21853838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21853839, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21853840, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21853841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21854369 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702596, 'mtr_portfolio_id': 21854369, 'created_at': datetime.datetime(2025, 3, 28, 17, 56, 58), 'result': '0.03611830678240164', 'result_long': None, 'result_double': None}] Qualite : 0.03611830678240164 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21854369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21854369_28-03-2025_17_56_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21854369 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21854369_28-03-2025_17_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21854389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21854390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21854391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21854392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21854393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21854394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21854395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21854396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21854397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21854398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21854399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21854400, 'pht': 3726}}" where mtr_portfolio_id = 21854369 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21854369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740208, 0.03611830678240164, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21854369_28-03-2025_17_56_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21854389, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21854390, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21854391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21854392, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21854393, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21854394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21854395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21854396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21854397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21854398, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21854399, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21854400, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21855305 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702721, 'mtr_portfolio_id': 21855305, 'created_at': datetime.datetime(2025, 3, 28, 18, 20, 31), 'result': '0.0405002386700779', 'result_long': None, 'result_double': None}] Qualite : 0.0405002386700779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21855305 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855305_28-03-2025_18_20_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21855305 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855305_28-03-2025_18_20_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855319, 'pht': 3726}}" where mtr_portfolio_id = 21855305 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21855305 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740209, 0.0405002386700779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855305_28-03-2025_18_20_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855309, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855310, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855311, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855313, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855314, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855315, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855316, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855318, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855319, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21855796 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702761, 'mtr_portfolio_id': 21855796, 'created_at': datetime.datetime(2025, 3, 28, 18, 34, 58), 'result': '0.05055037212763506', 'result_long': None, 'result_double': None}] Qualite : 0.05055037212763506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21855796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855796_28-03-2025_18_34_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21855796 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855796_28-03-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855810, 'pht': 3726}}" where mtr_portfolio_id = 21855796 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21855796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740210, 0.05055037212763506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21855796_28-03-2025_18_34_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21855799, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21855800, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21855801, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21855802, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21855803, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21855804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21855805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21855806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21855807, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21855808, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21855809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21855810, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21856257 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702829, 'mtr_portfolio_id': 21856257, 'created_at': datetime.datetime(2025, 3, 28, 18, 50, 56), 'result': '0.0649335653797558', 'result_long': None, 'result_double': None}] Qualite : 0.0649335653797558 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21856257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21856257_28-03-2025_18_50_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21856257 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21856257_28-03-2025_18_50_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21856264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21856265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21856266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21856267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21856268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21856269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21856270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21856271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21856272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21856273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21856274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21856275, 'pht': 3726}}" where mtr_portfolio_id = 21856257 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21856257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740211, 0.0649335653797558, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21856257_28-03-2025_18_50_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21856264, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21856265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21856266, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21856267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21856268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21856269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21856270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21856271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21856272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21856273, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21856274, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21856275, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21857089 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702882, 'mtr_portfolio_id': 21857089, 'created_at': datetime.datetime(2025, 3, 28, 19, 3, 59), 'result': '0.040153175114938884', 'result_long': None, 'result_double': None}] Qualite : 0.040153175114938884 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21857089 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857089_28-03-2025_19_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21857089 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857089_28-03-2025_19_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21857118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857128, 'pht': 3726}}" where mtr_portfolio_id = 21857089 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21857089 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740212, 0.040153175114938884, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857089_28-03-2025_19_03_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21857118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857119, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857120, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857121, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857122, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857123, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857124, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857125, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857126, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857127, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857128, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21857676 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2702953, 'mtr_portfolio_id': 21857676, 'created_at': datetime.datetime(2025, 3, 28, 19, 19, 58), 'result': '0.06375704421233024', 'result_long': None, 'result_double': None}] Qualite : 0.06375704421233024 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21857676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857676_28-03-2025_19_19_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21857676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857676_28-03-2025_19_19_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21857686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857712, 'pht': 3726}}" where mtr_portfolio_id = 21857676 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21857676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740213, 0.06375704421233024, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21857676_28-03-2025_19_19_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21857686, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21857690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21857691, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21857692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21857693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21857694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21857695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21857697, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21857702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21857708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21857711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21857712, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21858428 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703005, 'mtr_portfolio_id': 21858428, 'created_at': datetime.datetime(2025, 3, 28, 19, 35, 1), 'result': '0.07874143251994195', 'result_long': None, 'result_double': None}] Qualite : 0.07874143251994195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21858428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21858428_28-03-2025_19_35_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21858428 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21858428_28-03-2025_19_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21858482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21858483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21858484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21858485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21858486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21858487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21858488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21858489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21858490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21858491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21858492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21858493, 'pht': 3726}}" where mtr_portfolio_id = 21858428 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21858428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740214, 0.07874143251994195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21858428_28-03-2025_19_35_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21858482, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21858483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21858484, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21858485, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21858486, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21858487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21858488, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21858489, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21858490, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21858491, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21858492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21858493, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21859236 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703072, 'mtr_portfolio_id': 21859236, 'created_at': datetime.datetime(2025, 3, 28, 19, 50, 58), 'result': '0.04741523764039196', 'result_long': None, 'result_double': None}] Qualite : 0.04741523764039196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21859236 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859236_28-03-2025_19_50_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21859236 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859236_28-03-2025_19_50_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859355, 'pht': 3726}}" where mtr_portfolio_id = 21859236 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21859236 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740215, 0.04741523764039196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859236_28-03-2025_19_50_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859344, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859345, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859346, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859347, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859348, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859349, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859350, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859351, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859352, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859353, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859354, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859355, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21859760 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703108, 'mtr_portfolio_id': 21859760, 'created_at': datetime.datetime(2025, 3, 28, 20, 4, 59), 'result': '0.037431021832630154', 'result_long': None, 'result_double': None}] Qualite : 0.037431021832630154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21859760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859760_28-03-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21859760 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859760_28-03-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859832, 'pht': 3726}}" where mtr_portfolio_id = 21859760 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21859760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740216, 0.037431021832630154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21859760_28-03-2025_20_04_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21859821, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21859822, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21859823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21859824, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21859825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21859826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21859827, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21859828, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21859829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21859830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21859831, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21859832, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21860213 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703158, 'mtr_portfolio_id': 21860213, 'created_at': datetime.datetime(2025, 3, 28, 20, 18, 57), 'result': '0.028516359320304316', 'result_long': None, 'result_double': None}] Qualite : 0.028516359320304316 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21860213 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860213_28-03-2025_20_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21860213 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860213_28-03-2025_20_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21860275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860277, 'pht': 3726}}" where mtr_portfolio_id = 21860213 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21860213 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740217, 0.028516359320304316, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860213_28-03-2025_20_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860266, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860268, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860269, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860270, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860271, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860272, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860273, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21860275, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860277, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21860849 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703207, 'mtr_portfolio_id': 21860849, 'created_at': datetime.datetime(2025, 3, 28, 20, 34, 59), 'result': '0.04389208409636109', 'result_long': None, 'result_double': None}] Qualite : 0.04389208409636109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21860849 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860849_28-03-2025_20_35_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21860849 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860849_28-03-2025_20_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21860851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860862, 'pht': 3726}}" where mtr_portfolio_id = 21860849 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21860849 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740218, 0.04389208409636109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21860849_28-03-2025_20_35_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21860851, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21860852, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21860853, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21860854, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21860855, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21860856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21860857, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21860858, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21860859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21860860, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21860861, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21860862, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21861323 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703265, 'mtr_portfolio_id': 21861323, 'created_at': datetime.datetime(2025, 3, 28, 21, 9, 31), 'result': '0.03450470623740088', 'result_long': None, 'result_double': None}] Qualite : 0.03450470623740088 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21861323 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21861323_28-03-2025_21_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21861323 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21861323_28-03-2025_21_09_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21861326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21861327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21861328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21861329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21861330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21861331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21861332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21861333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21861334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21861335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21861336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21861337, 'pht': 3726}}" where mtr_portfolio_id = 21861323 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21861323 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740219, 0.03450470623740088, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21861323_28-03-2025_21_09_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21861326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21861327, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21861328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21861329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21861330, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21861331, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21861332, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21861333, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21861334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21861335, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21861336, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21861337, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21862772 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703529, 'mtr_portfolio_id': 21862772, 'created_at': datetime.datetime(2025, 3, 28, 22, 2, 58), 'result': '0.05027744045295489', 'result_long': None, 'result_double': None}] Qualite : 0.05027744045295489 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21862772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21862772_28-03-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21862772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21862772_28-03-2025_22_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21862775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21862776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21862777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21862778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21862779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21862780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21862781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21862782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21862783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21862784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21862785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21862786, 'pht': 3726}}" where mtr_portfolio_id = 21862772 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21862772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740220, 0.05027744045295489, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21862772_28-03-2025_22_02_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21862775, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21862776, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21862777, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21862778, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21862779, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21862780, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21862781, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21862782, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21862783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21862784, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21862785, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21862786, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 21863389 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863389 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21863389 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863389_28-03-2025_22_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21863389 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863389_28-03-2025_22_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863413, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863414, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863417, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863420, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863421, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863422, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863423, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863424, 'pht': 3726}}" where mtr_portfolio_id = 21863389 and dashboard_run_id = 1707747 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21863815 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703606, 'mtr_portfolio_id': 21863815, 'created_at': datetime.datetime(2025, 3, 28, 22, 38, 31), 'result': '0.038315679417494086', 'result_long': None, 'result_double': None}] Qualite : 0.038315679417494086 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21863815 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863815_28-03-2025_22_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21863815 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863815_28-03-2025_22_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863827, 'pht': 3726}}" where mtr_portfolio_id = 21863815 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21863815 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740222, 0.038315679417494086, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21863815_28-03-2025_22_38_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21863816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21863817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21863818, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21863819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21863820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21863821, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21863822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21863823, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21863824, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21863825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21863826, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21863827, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21864373 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703652, 'mtr_portfolio_id': 21864373, 'created_at': datetime.datetime(2025, 3, 28, 22, 48, 58), 'result': '0.10925572809500911', 'result_long': None, 'result_double': None}] Qualite : 0.10925572809500911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21864373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864373_28-03-2025_22_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21864373 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864373_28-03-2025_22_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21864375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21864376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21864377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21864378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21864379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21864380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21864381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21864382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21864383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21864384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21864385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21864386, 'pht': 3726}}" where mtr_portfolio_id = 21864373 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21864373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740223, 0.10925572809500911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864373_28-03-2025_22_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21864375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21864376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21864377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21864378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21864379, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21864380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21864381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21864382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21864383, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21864384, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21864385, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21864386, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21864995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703699, 'mtr_portfolio_id': 21864995, 'created_at': datetime.datetime(2025, 3, 28, 23, 2, 59), 'result': '0.12760521808213676', 'result_long': None, 'result_double': None}] Qualite : 0.12760521808213676 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21864995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864995_28-03-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21864995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864995_28-03-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21865014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865025, 'pht': 3726}}" where mtr_portfolio_id = 21864995 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21864995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740224, 0.12760521808213676, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21864995_28-03-2025_23_03_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 21865014, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865015, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865016, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865018, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865020, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865021, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865023, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865025, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 21865437 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2703717, 'mtr_portfolio_id': 21865437, 'created_at': datetime.datetime(2025, 3, 28, 23, 32, 59), 'result': '0.027768414101112165', 'result_long': None, 'result_double': None}] Qualite : 0.027768414101112165 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 21865437 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21865437_28-03-2025_23_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 21865437 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21865437_28-03-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21865445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865450, 'pht': 3726}}" where mtr_portfolio_id = 21865437 and dashboard_run_id = 1707747 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=21865437 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9740225, 0.027768414101112165, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P21865437_28-03-2025_23_32_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 21865439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 21865440, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 21865441, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 21865442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 21865443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 21865444, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 21865445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 21865446, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 21865447, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 21865448, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 21865449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 21865450, '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 (21821745,21822724,21822918,21823291,21825012,21825194,21825619,21826095,21826531,21827231,21827676,21828132,21828818,21829052,21829737,21830405,21830835,21831557,21832228,21833105,21834766,21835473,21836028,21836532,21837339,21838195,21839015,21840138,21840944,21841582,21842308,21844228,21844510,21845175,21845981,21846957,21847696,21848624,21849469,21850043,21850641,21851507,21852656,21853251,21853805,21854369,21855305,21855796,21856257,21857089,21857676,21858428,21859236,21859760,21860213,21860849,21861323,21862772,21863389,21863815,21864373,21864995,21865437) result : ((1348099891,), (1348101107,), (1348102139,), (1348102951,), (1348102959,), (1348102977,), (1348102991,), (1348102996,), (1348102999,), (1348103060,), (1348123299,), (1348123585,), (1348124457,), (1348124459,), (1348124476,), (1348124479,), (1348124500,), (1348124520,), (1348124638,), (1348124629,), (1348125369,), (1348125823,), (1348126539,), (1348127454,), (1348127460,), (1348128549,), (1348128598,), (1348128622,), (1348129046,), (1348129101,), (1348129108,), (1348129424,), (1348131110,), (1348131898,), (1348132393,), (1348132463,), (1348132487,), (1348132496,), (1348132570,), (1348133085,), (1348133231,), (1348135016,), (1348135527,), (1348136469,), (1348167720,), (1348167809,), (1348168155,), (1348168321,), (1348168323,), (1348168406,), (1348168532,), (1348168535,), (1348168539,), (1348168563,), (1348168564,), (1348168598,), (1348168602,), (1348168606,), (1348168610,), (1348168613,), (1348168618,), (1348168632,), (1348168634,), (1348168639,), (1348168644,), (1348168650,), (1348168669,), (1348168671,), (1348168676,), (1348168682,), (1348168687,), (1348168692,), (1348168739,), (1348168740,), (1348168745,), (1348168747,), (1348168796,), (1348168784,), (1348168786,), (1348168791,), (1348168822,), (1348168824,), (1348168829,), (1348168835,), (1348168839,), (1348168843,), (1348168882,), (1348168886,), (1348168891,), (1348168896,), (1348168900,), (1348168913,), (1348168915,), (1348168920,), (1348168925,), (1348168933,), (1348168936,), (1348168960,), (1348168963,), (1348168966,), (1348169017,), (1348169138,), (1348169353,), (1348169828,), (1348169831,), (1348169835,), (1348169993,), (1348169995,), (1348170004,), (1348170008,), (1348170021,), (1348170033,), (1348170051,), (1348170061,), (1348170066,), (1348170071,), (1348170148,), (1348170154,), (1348170159,), (1348170164,), (1348170167,), (1348170171,), (1348170182,), (1348170185,), (1348170189,), (1348170196,), (1348170226,), (1348170237,), (1348170243,), (1348170259,), (1348170268,), (1348170273,), (1348170307,), (1348170309,), (1348170312,), (1348170319,), (1348170340,), (1348170392,), (1348170473,), (1348170474,), (1348170479,), (1348170532,), (1348170540,), (1348170544,), (1348170547,), (1348170550,), (1348170553,), (1348170586,), (1348170588,), (1348170593,), (1348170647,), (1348170630,), (1348170632,), (1348170638,), (1348170641,), (1348170644,), (1348170710,), (1348170713,), (1348170718,), (1348170721,), (1348170725,), (1348170743,), (1348170744,), (1348170754,), (1348170759,), (1348170764,), (1348170778,), (1348170783,), (1348170787,), (1348170792,), (1348170797,), (1348170802,), (1348170812,), (1348170815,), (1348170819,), (1348170824,), (1348170911,), (1348170962,), (1348170980,), (1348170984,), (1348170989,), (1348170993,), (1348171005,), (1348171009,), (1348171014,), (1348171017,), (1348171075,), (1348171082,), (1348171085,), (1348171100,), (1348171139,), (1348171141,), (1348171145,), (1348171149,), (1348171153,), (1348171195,), (1348171202,), (1348171206,), (1348171208,), (1348171237,), (1348171238,), (1348171243,), (1348171246,), (1348171252,), (1348171257,), (1348171283,), (1348171286,), (1348171289,), (1348171293,), (1348171356,), (1348171357,), (1348171370,), (1348171374,), (1348171405,), (1348171499,), (1348171531,), (1348171534,), (1348171692,), (1348171694,), (1348171697,), (1348171739,), (1348171803,), (1348172055,), (1348171886,), (1348171889,), (1348171906,), (1348171958,), (1348172045,), (1348172065,), (1348172066,), (1348172071,), (1348172106,), (1348172114,), (1348172121,), (1348172131,), (1348172140,), (1348172191,), (1348172193,), (1348172197,), (1348172201,), (1348172265,), (1348172270,), (1348172275,), (1348172278,), (1348172290,), (1348172291,), (1348172295,), (1348172299,), (1348172302,), (1348172306,), (1348172338,), (1348172341,), (1348172345,), (1348172351,), (1348172372,), (1348172374,), (1348172378,), (1348172382,), (1348172385,), (1348172416,), (1348172419,), (1348172423,), (1348172428,), (1348172633,), (1348172636,), (1348172683,), (1348172688,), (1348172694,), (1348172699,), (1348172705,), (1348173156,), (1348173458,), (1348173398,), (1348173415,), (1348173445,), (1348173785,), (1348173787,), (1348173804,), (1348173829,), (1348174092,), (1348174117,), (1348174134,), (1348174160,), (1348174195,), (1348174220,), (1348174480,), (1348174503,), (1348174528,), (1348174755,), (1348174775,), (1348174798,), (1348174825,), (1348174849,), (1348174872,), (1348175072,), (1348175078,), (1348175088,), (1348175091,), (1348175095,), (1348175117,), (1348175122,), (1348175126,), (1348175129,), (1348175132,), (1348175158,), (1348175162,), (1348175164,), (1348175167,), (1348175171,), (1348175198,), (1348175394,), (1348175423,), (1348175443,), (1348175464,), (1348175687,), (1348175707,), (1348175714,), (1348175721,), (1348175736,), (1348175755,), (1348176420,), (1348176422,), (1348176431,), (1348176446,), (1348176499,), (1348176502,), (1348176506,), (1348176512,), (1348176517,), (1348176618,), (1348176622,), (1348176625,), (1348176629,), (1348176632,), (1348176653,), (1348176655,), (1348176662,), (1348176671,), (1348176675,), (1348176680,), (1348176703,), (1348176707,), (1348176723,), (1348176727,), (1348176731,), (1348176734,), (1348176775,), (1348176769,), (1348176771,), (1348176796,), (1348176803,), (1348176809,), (1348176812,), (1348176818,), (1348176823,), (1348176866,), (1348176890,), (1348176895,), (1348176901,), (1348176904,), (1348176908,), (1348176942,), (1348176944,), (1348176950,), (1348176992,), (1348176995,), (1348176999,), (1348177002,), (1348177007,), (1348177012,), (1348177027,), (1348177029,), (1348177033,), (1348177036,), (1348177064,), (1348177067,), (1348177071,), (1348177076,), (1348177078,), (1348177097,), (1348177103,), (1348177106,), (1348177109,), (1348177112,), (1348177131,), (1348177133,), (1348177137,), (1348177160,), (1348177162,), (1348177167,), (1348177170,), (1348177176,), (1348177181,), (1348177235,), (1348177237,), (1348177242,), (1348177247,), (1348177252,), (1348177298,), (1348177300,), (1348177307,), (1348177327,), (1348177328,), (1348177378,), (1348177397,), (1348177408,), (1348177425,), (1348177428,), (1348177431,), (1348177510,), (1348177467,), (1348177476,), (1348177485,), (1348177495,), (1348177501,), (1348177525,), (1348177532,), (1348177537,), (1348177541,), (1348177568,), (1348177569,), (1348177579,), (1348177583,), (1348177588,), (1348177592,), (1348177627,), (1348177631,), (1348177649,), (1348177658,), (1348177702,), (1348177705,), (1348177766,), (1348177786,), (1348177790,), (1348177826,), (1348177827,), (1348177831,), (1348177835,), (1348177839,), (1348177843,), (1348177857,), (1348177859,), (1348177863,), (1348177897,), (1348177899,), (1348177903,), (1348177905,), (1348177909,), (1348177912,), (1348177924,), (1348177925,), (1348177929,), (1348177932,), (1348177938,), (1348177968,), (1348177970,), (1348177976,), (1348177996,), (1348178002,), (1348178007,), (1348178009,), (1348178013,), (1348178018,), (1348178034,), (1348178036,), (1348178040,), (1348178047,), (1348178059,), (1348178062,), (1348178076,), (1348178077,), (1348178083,), (1348178121,), (1348178123,), (1348178127,), (1348178132,), (1348178135,), (1348178140,), (1348178161,), (1348178165,), (1348178169,), (1348178217,), (1348178275,), (1348178248,), (1348178264,), (1348178270,), (1348178302,), (1348178303,), (1348178309,), (1348178314,), (1348178319,), (1348178324,), (1348178373,), (1348178378,), (1348178383,), (1348178406,), (1348178410,), (1348178414,), (1348178421,), (1348178426,), (1348178430,), (1348178461,), (1348178463,), (1348178469,), (1348178474,), (1348178479,), (1348178505,), (1348178508,), (1348178513,), (1348178516,), (1348178522,), (1348178564,), (1348178566,), (1348178570,), (1348178573,), (1348178577,), (1348178600,), (1348178602,), (1348178607,), (1348178649,), (1348178655,), (1348178664,), (1348178672,), (1348178676,), (1348178681,), (1348178692,), (1348178694,), (1348178700,), (1348178704,), (1348178709,), (1348178714,), (1348178749,), (1348178751,), (1348178756,), (1348178785,), (1348178787,), (1348178791,), (1348178796,), (1348178801,), (1348178805,), (1348178837,), (1348178841,), (1348178844,), (1348179163,), (1348179194,), (1348179226,), (1348179259,), (1348179289,), (1348179323,), (1348179401,), (1348179427,), (1348179458,), (1348179486,), (1348179547,), (1348179736,), (1348179637,), (1348179677,), (1348180744,), (1348180748,), (1348180754,), (1348180762,), (1348180769,), (1348180775,), (1348180798,), (1348180804,), (1348180910,), (1348181131,), (1348181258,), (1348181641,), (1348181657,), (1348181663,), (1348182426,), (1348182477,), (1348182479,), (1348182494,), (1348182498,), (1348182515,), (1348182551,), (1348182553,), (1348182599,), (1348182603,), (1348182606,), (1348182613,), (1348182617,), (1348182641,), (1348182643,), (1348182647,), (1348182652,), (1348182739,), (1348182746,), (1348182751,), (1348182886,), (1348182888,), (1348182892,), (1348182901,), (1348183028,), (1348183044,), (1348183068,), (1348183092,), (1348183107,), (1348183194,), (1348183249,), (1348183320,), (1348183376,), (1348183558,), (1348183561,), (1348183570,), (1348183665,), (1348183682,), (1348183692,), (1348183703,), (1348183707,), (1348183733,), (1348183743,), (1348183760,), (1348183765,), (1348183770,), (1348183780,), (1348183842,), (1348183871,), (1348183894,), (1348183923,), (1348183988,), (1348183998,), (1348184009,), (1348184056,), (1348184077,), (1348184084,), (1348184090,), (1348184280,), (1348184184,), (1348184207,), (1348184235,), (1348184256,), (1348184334,), (1348184335,), (1348184357,), (1348184607,), (1348184658,), (1348184682,), (1348184716,), (1348184751,), (1348184763,), (1348184942,), (1348184980,), (1348185003,), (1348185034,), (1348185059,), (1348185261,), (1348185318,), (1348185340,), (1348185350,), (1348185361,), (1348185586,), (1348185621,), (1348185627,), (1348185813,), (1348185833,), (1348185835,), (1348185853,), (1348185869,), (1348185910,), (1348186001,), (1348186019,), (1348186034,), (1348186047,), (1348186257,), (1348186277,), (1348186282,), (1348186294,), (1348186307,), (1348186313,), (1348186446,), (1348186466,), (1348186562,), (1348186677,), (1348186718,), (1348186725,), (1348186831,), (1348186836,), (1348186839,), (1348186845,), (1348186853,), (1348186861,), (1348186951,), (1348186953,), (1348186957,), (1348186969,), (1348187140,), (1348187145,), (1348187210,), (1348187214,), (1348187339,), (1348187367,), (1348187576,), (1348187568,), (1348187571,), (1348187717,), (1348187721,), (1348187725,), (1348187730,), (1348187735,), (1348187738,), (1348187763,), (1348187764,), (1348187860,), (1348187906,), (1348187916,), (1348187928,), (1348188033,), (1348188060,), (1348188086,), (1348188106,), (1348188137,), (1348188147,), (1348188351,), (1348188355,), (1348188370,), (1348188375,), (1348188379,), (1348188410,), (1348188415,), (1348188476,), (1348188480,), (1348188489,), (1348188494,), (1348188497,), (1348188514,), (1348188584,), (1348188603,), (1348188611,), (1348188626,), (1348188654,), (1348188681,), (1348188756,), (1348188761,), (1348188765,), (1348188768,), (1348188772,), (1348188794,), (1348188797,), (1348188801,), (1348188805,), (1348188810,), (1348188835,), (1348188839,), (1348188845,), (1348188848,), (1348188852,), (1348188890,), (1348188897,), (1348188901,), (1348188903,), (1348189130,), (1348189173,), (1348189180,), (1348189187,), (1348189191,), (1348189200,), (1348189265,), (1348189290,), (1348189498,), (1348189378,), (1348189403,), (1348189429,), (1348189448,), (1348189473,), (1348189709,), (1348189735,), (1348189762,), (1348189784,), (1348189822,), (1348190511,), (1348190783,), (1348190878,), (1348191254,), (1348191270,), (1348191278,), (1348191287,), (1348191713,), (1348191770,), (1348191787,), (1348191846,), (1348191887,), (1348192107,), (1348192115,), (1348192119,), (1348192121,), (1348192144,), (1348192176,), (1348192263,), (1348192266,), (1348192309,), (1348192313,), (1348192318,), (1348192319,), (1348192326,), (1348192330,), (1348192507,), (1348192514,), (1348192526,), (1348192535,), (1348192593,), (1348192600,), (1348192604,), (1348192609,), (1348192613,), (1348192664,), (1348192678,), (1348192685,), (1348192698,), (1348192706,), (1348192717,), (1348192752,), (1348192756,), (1348192759,), (1348192796,), (1348192800,), (1348192806,), (1348192813,), (1348192816,), (1348192869,), (1348192882,), (1348192887,), (1348192921,), (1348192988,), (1348193035,), (1348193094,), (1348193097,), (1348193101,), (1348193223,), (1348193183,), (1348193188,), (1348193193,), (1348193199,), (1348193205,), (1348193257,), (1348193260,), (1348193265,), (1348193274,), (1348193280,), (1348193341,), (1348193349,), (1348193359,), (1348193464,), (1348193468,), (1348193492,), (1348193522,), (1348193533,), (1348193597,), (1348193599,), (1348193605,), (1348193611,), (1348193622,), (1348193667,), (1348193670,), (1348193676,), (1348193681,), (1348193722,), (1348193727,), (1348193731,), (1348193737,), (1348193749,), (1348193759,), (1348193790,), (1348193804,), (1348193809,), (1348193814,), (1348193818,), (1348193827,), (1348193875,), (1348193888,), (1348193896,), (1348193929,), (1348193933,), (1348193940,), (1348193944,), (1348193950,), (1348193984,), (1348193988,), (1348193993,), (1348193999,), (1348194003,), (1348194009,), (1348194061,), (1348194068,), (1348194078,), (1348194082,), (1348194124,), (1348194128,), (1348194131,), (1348194135,), (1348194140,), (1348194145,), (1348194168,), (1348194173,), (1348194178,), (1348194229,), (1348194233,), (1348194238,), (1348194245,), (1348194251,), (1348194308,), (1348194288,), (1348194292,), (1348194296,), (1348194300,), (1348194346,), (1348194350,), (1348194355,), (1348194463,), (1348194469,), (1348194473,), (1348194478,), (1348194487,), (1348194492,), (1348194509,), (1348194517,), (1348194526,), (1348194531,), (1348194543,), (1348194547,), (1348194564,), (1348194580,), (1348194584,), (1348194765,), (1348194785,), (1348194802,), (1348194827,), (1348194834,), (1348195029,), (1348195068,), (1348195098,), (1348195108,), (1348195126,), (1348195146,), (1348195149,), (1348195153,), (1348195155,), (1348195159,), (1348195200,), (1348195201,), (1348195208,), (1348195308,), (1348195322,), (1348195327,), (1348195332,), (1348195335,), (1348195338,), (1348195378,), (1348195384,), (1348195390,), (1348195395,), (1348195408,), (1348195433,), (1348195453,), (1348195500,), (1348196027,), (1348196082,), (1348196124,), (1348196146,), (1348196161,), (1348196172,), (1348196213,), (1348196218,), (1348196222,), (1348196228,), (1348196239,), (1348196245,), (1348196255,), (1348196299,), (1348196311,), (1348196774,), (1348196643,), (1348196691,), (1348196738,), (1348196767,), (1348196912,), (1348196919,), (1348196926,), (1348196933,), (1348196938,), (1348196944,), (1348197184,), (1348197186,), (1348197189,), (1348197366,), (1348197368,), (1348197372,), (1348197376,), (1348197382,), (1348197443,), (1348197446,), (1348197449,), (1348197452,), (1348197457,), (1348197468,), (1348197493,), (1348197498,), (1348197519,), (1348197556,), (1348197568,), (1348197574,), (1348197577,), (1348197580,), (1348197581,), (1348197609,), (1348197614,), (1348197624,), (1348197633,), (1348197642,), (1348197723,), (1348197750,), (1348197781,), (1348197786,), (1348197789,), (1348197796,), (1348197801,), (1348197928,), (1348198079,), (1348201272,), (1348209099,), (1348209101,), (1348209201,), (1348209204,), (1348209209,), (1348209214,), (1348209219,), (1348209431,), (1348209492,), (1348209561,), (1348210002,), (1348210033,), (1348210058,), (1348210079,), (1348210084,), (1348210192,), (1348210207,), (1348210231,), (1348210256,), (1348210397,), (1348210411,), (1348210430,), (1348210436,), (1348210440,), (1348210766,), (1348210788,), (1348210918,), (1348210922,), (1348210926,), (1348210931,), (1348210997,), (1348211342,), (1348211381,), (1348211394,), (1348211420,), (1348211453,), (1348211681,), (1348211705,), (1348211740,), (1348211762,), (1348211837,), (1348211842,), (1348211846,), (1348211938,), (1348211895,), (1348211902,), (1348211911,), (1348211925,), (1348211932,), (1348212065,), (1348212098,), (1348212120,), (1348212125,), (1348212131,), (1348212230,), (1348212248,), (1348212272,), (1348212574,), (1348212579,), (1348212587,), (1348212620,), (1348212652,), (1348212665,), (1348212692,), (1348212715,), (1348212730,), (1348212801,), (1348213191,), (1348213213,), (1348213225,), (1348213306,), (1348213556,), (1348213561,), (1348213567,), (1348213571,), (1348213622,), (1348213626,), (1348213636,), (1348213639,), (1348213644,), (1348213647,), (1348213677,), (1348213680,), (1348213685,), (1348213690,), (1348213700,), (1348213757,), (1348213760,), (1348213774,), (1348213854,), (1348213856,), (1348213860,), (1348213863,), (1348213871,), (1348213874,), (1348214049,), (1348214059,), (1348214066,), (1348214086,), (1348214107,), (1348214144,), (1348214149,), (1348214155,), (1348214273,), (1348214280,), (1348214286,), (1348214594,), (1348214679,), (1348214710,), (1348214733,), (1348214759,), (1348214785,), (1348214821,), (1348215177,), (1348215210,), (1348214454,), (1348214480,), (1348214507,), (1348214537,), (1348214565,), (1348214980,), (1348215034,), (1348215083,), (1348215134,), (1348215416,), (1348215446,), (1348215596,), (1348215806,), (1348215865,), (1348215911,), (1348216298,), (1348216369,), (1348216424,), (1348216463,), (1348217280,), (1348217372,), (1348217468,), (1348218012,), (1348218057,), (1348218107,), (1348218159,), (1348218186,), (1348218278,), (1348218550,), (1348218596,), (1348218672,), (1348219155,), (1348219200,), (1348219252,), (1348219284,), (1348219339,), (1348219381,), (1348219628,), (1348219630,), (1348219654,), (1348219681,), (1348219716,), (1348219870,), (1348219913,), (1348219934,), (1348219977,), (1348220232,), (1348220259,), (1348220290,), (1348220318,), (1348220344,), (1348220578,), (1348220597,), (1348220634,), (1348220682,), (1348220720,), (1348220837,), (1348220852,), (1348220876,), (1348220896,), (1348220956,), (1348220959,), (1348220962,), (1348220966,), (1348220970,), (1348221003,), (1348221008,), (1348221011,), (1348221015,), (1348221020,), (1348221027,), (1348221204,), (1348221054,), (1348221056,), (1348221169,), (1348221277,), (1348221280,), (1348221286,), (1348221289,), (1348221296,), (1348221301,), (1348221332,), (1348221335,), (1348221339,), (1348221344,), (1348221350,), (1348221383,), (1348221523,), (1348221548,), (1348221570,), (1348221797,), (1348221846,), (1348221866,), (1348221874,), (1348221884,), (1348221924,), (1348221929,), (1348221933,), (1348221944,), (1348221953,), (1348221979,), (1348221986,), (1348222028,), (1348222057,), (1348222063,), (1348222072,), (1348222171,), (1348222185,), (1348222203,), (1348222359,), (1348222373,), (1348222400,), (1348222410,), (1348222430,), (1348222437,), (1348222453,), (1348222456,), (1348222462,), (1348222480,), (1348222483,), (1348222489,), (1348222509,), (1348222529,), (1348222550,), (1348222556,), (1348222588,), (1348222597,), (1348222657,), (1348222694,), (1348222771,), (1348223036,), (1348223058,), (1348223066,), (1348223114,), (1348223126,), (1348223164,), (1348223242,), (1348223282,), (1348223307,), (1348223320,), (1348223334,), (1348223396,), (1348223398,), (1348223404,), (1348223409,), (1348223414,), (1348223511,), (1348223445,), (1348223447,), (1348223457,), (1348223462,), (1348223497,), (1348223759,), (1348223878,), (1348223940,), (1348223987,), (1348224216,), (1348224272,), (1348224284,), (1348224297,), (1348224302,), (1348224493,), (1348224529,), (1348224542,), (1348224568,), (1348224680,), (1348224719,), (1348224928,), (1348224942,), (1348224958,), (1348224970,), (1348225166,), (1348225188,), (1348225195,), (1348225212,), (1348225219,), (1348225306,), (1348225310,), (1348225316,), (1348225322,), (1348225326,), (1348225532,), (1348225537,), (1348225552,), (1348225563,), (1348225573,), (1348225577,), (1348225622,), (1348225629,), (1348225632,), (1348225640,), (1348225718,), (1348225728,), (1348225731,), (1348225737,), (1348225863,), (1348225890,), (1348225923,), (1348225957,), (1348225990,), (1348226018,), (1348226259,), (1348226294,), (1348226309,), (1348226323,), (1348226600,), (1348226649,), (1348226657,), (1348226672,), (1348226697,), (1348227037,), (1348227054,), (1348227083,), (1348227100,), (1348227120,), (1348227125,), (1348227273,), (1348227303,), (1348227341,), (1348227777,), (1348227631,), (1348227673,), (1348227722,), (1348227914,), (1348227957,), (1348227974,), (1348228028,), (1348228068,), (1348228100,), (1348228353,), (1348228359,), (1348228361,), (1348228404,), (1348228405,), (1348228406,), (1348228447,), (1348228448,), (1348228449,), (1348228529,), (1348228530,), (1348228531,), (1348228544,), (1348228552,), (1348228553,), (1348228580,), (1348228584,), (1348228624,), (1348228626,), (1348228635,), (1348228636,), (1348228646,), (1348228662,), (1348228667,), (1348228696,), (1348228724,), (1348228744,), (1348228755,), (1348228772,), (1348228784,), (1348228791,), (1348228811,), (1348228834,), (1348228861,), (1348228868,), (1348228904,), (1348228909,), (1348228927,), (1348228940,), (1348228971,), (1348228983,), (1348229034,), (1348229063,), (1348229121,), (1348229217,), (1348229245,), (1348229248,), (1348229298,), (1348229302,), (1348229323,), (1348229329,), (1348229334,), (1348229369,), (1348229385,), (1348229391,), (1348229407,), (1348229413,), (1348229423,), (1348229507,), (1348229528,), (1348229536,), (1348229600,), (1348229680,), (1348229690,), (1348229727,), (1348229910,), (1348229916,), (1348229923,), (1348229929,), (1348229944,), (1348229945,), (1348229949,), (1348229950,), (1348229994,), (1348229989,), (1348230091,), (1348230095,), (1348230102,), (1348230109,), (1348230116,), (1348230161,), (1348230168,), (1348230173,), (1348230177,), (1348230180,), (1348230365,), (1348230409,), (1348230430,), (1348230641,), (1348230659,), (1348230673,), (1348230709,), (1348230917,), (1348230951,), (1348230985,), (1348231014,), (1348231037,), (1348231057,), (1348231554,), (1348231614,), (1348231679,), (1348231728,), (1348231775,), (1348232120,), (1348232212,), (1348232296,), (1348232383,), (1348232476,), (1348232612,), (1348232656,), (1348232712,), (1348232750,), (1348232791,), (1348232817,), (1348233004,), (1348233016,), (1348233021,), (1348233085,), (1348233094,), (1348233108,), (1348233129,), (1348233253,), (1348233305,), (1348233334,), (1348233350,), (1348233579,), (1348233583,), (1348233614,), (1348233798,), (1348233812,), (1348233838,), (1348233854,), (1348233889,), (1348233895,), (1348233905,), (1348233909,), (1348233911,), (1348233919,), (1348234059,), (1348233955,), (1348233958,), (1348233965,), (1348234214,), (1348234219,), (1348234225,), (1348234245,), (1348234249,), (1348234385,), (1348234388,), (1348234397,), (1348234406,), (1348234409,), (1348234674,), (1348234686,), (1348234691,), (1348234707,), (1348234721,), (1348234742,), (1348234818,), (1348234821,), (1348234827,), (1348234854,), (1348234939,), (1348234942,), (1348234947,), (1348234951,), (1348234955,), (1348235180,), (1348235191,), (1348235206,), (1348235278,), (1348235286,), (1348235291,), (1348235344,), (1348235351,), (1348235358,), (1348235449,), (1348235454,), (1348235463,), (1348235469,), (1348235473,), (1348235477,), (1348235509,), (1348235514,), (1348235529,), (1348235557,), (1348235562,), (1348235567,), (1348235591,), (1348235595,), (1348235597,), (1348235603,), (1348235700,), (1348235703,), (1348235715,), (1348235727,), (1348235801,), (1348235813,), (1348235825,), (1348235836,), (1348235858,), (1348235881,), (1348235898,), (1348235900,), (1348235905,), (1348235910,), (1348235917,), (1348235969,), (1348235971,), (1348235983,), (1348235999,), (1348236045,), (1348236019,), (1348236023,), (1348236034,), (1348236149,), (1348236154,), (1348236158,), (1348236162,), (1348236172,), (1348236176,), (1348236206,), (1348236216,), (1348236257,), (1348236266,), (1348236277,), (1348236387,), (1348236399,), (1348236453,), (1348236457,), (1348236463,), (1348236468,), (1348236475,), (1348236538,), (1348236544,), (1348236575,), (1348236701,), (1348236704,), (1348236995,), (1348237021,), (1348237046,), (1348237120,), (1348237132,), (1348237411,), (1348237439,), (1348237468,), (1348237503,), (1348237673,), (1348237695,), (1348237701,), (1348237711,), (1348237786,), (1348237906,), (1348238036,), (1348238039,), (1348238043,), (1348238048,), (1348238114,), (1348238130,), (1348238151,), (1348238159,), (1348238188,), (1348238217,), (1348238456,), (1348238458,), (1348238462,), (1348238468,), (1348238614,), (1348238575,), (1348238597,), (1348238599,), (1348238607,), (1348238612,), (1348238679,), (1348238696,), (1348238716,), (1348238725,), (1348238729,), (1348238923,), (1348238928,), (1348238935,), (1348238938,), (1348238946,), (1348238959,), (1348238983,), (1348238987,), (1348238992,), (1348239000,), (1348239005,), (1348239010,), (1348239050,), (1348239063,), (1348239071,), (1348239075,), (1348239489,), (1348239510,), (1348239537,), (1348239560,), (1348239579,), (1348239618,), (1348239832,), (1348239845,), (1348239851,), (1348239973,), (1348239976,), (1348239982,), (1348240179,), (1348240190,), (1348240195,), (1348240327,), (1348240387,), (1348240399,), (1348240402,), (1348240420,), (1348240476,), (1348240507,), (1348240511,), (1348240600,), (1348240603,), (1348240609,), (1348240635,), (1348240648,), (1348240654,), (1348240801,), (1348240817,), (1348240844,), (1348240867,), (1348241562,), (1348241626,), (1348241687,), (1348241726,), (1348241759,), (1348241837,), (1348241927,), (1348241980,), (1348242066,), (1348242146,), (1348242196,), (1348242501,), (1348242395,), (1348243304,), (1348243407,), (1348243444,), (1348243476,), (1348244210,), (1348244269,), (1348244345,), (1348244440,), (1348244478,), (1348245268,), (1348245358,), (1348245442,), (1348246427,), (1348246524,), (1348246583,), (1348246657,), (1348246709,), (1348248159,), (1348248284,), (1348248343,), (1348248404,), (1348248455,), (1348248492,), (1348248750,), (1348248800,), (1348248872,), (1348248938,), (1348249371,), (1348249415,), (1348249488,), (1348249560,), (1348249564,), (1348249585,), (1348250352,), (1348250405,), (1348250461,), (1348250549,), (1348250570,), (1348250849,), (1348250853,), (1348250860,), (1348250888,), (1348250918,), (1348256433,), (1348259334,), (1348259379,), (1348259383,), (1348259480,), (1348259695,), (1348259698,), (1348260070,), (1348260075,), (1348260080,), (1348260085,), (1348260122,), (1348260125,), (1348260141,), (1348260145,), (1348260414,), (1348262380,), (1348263226,), (1348263267,), (1348263319,), (1348264030,), (1348264089,), (1348264137,), (1348266234,), (1348266371,), (1348266485,), (1348266579,), (1348266674,), (1348267020,), (1348267029,), (1348267044,), (1348267049,), (1348267159,), (1348268547,), (1348269662,), (1348269710,), (1348269785,), (1348269869,), (1348270413,), (1348270454,), (1348271074,), (1348271481,), (1348271523,), (1348271567,), (1348271730,), (1348271822,), (1348271889,), (1348272200,), (1348272265,), (1348272349,), (1348272430,), (1348272492,), (1348272545,), (1348272945,), (1348272890,), (1348272917,), (1348273418,), (1348273453,), (1348273511,), (1348273566,), (1348273606,), (1348274195,), (1348274219,), (1348274251,), (1348274274,), (1348274282,), (1348274354,), (1348274668,), (1348274687,), (1348274713,), (1348274728,), (1348275329,), (1348275491,), (1348275532,), (1348275640,), (1348275656,), (1348275697,), (1348275742,), (1348275753,), (1348275773,), (1348275849,), (1348275882,), (1348276008,), (1348276075,), (1348276106,), (1348276137,), (1348276482,), (1348276521,), (1348276758,), (1348276764,), (1348276793,), (1348276854,), (1348277047,), (1348277365,), (1348278559,), (1348278353,), (1348278396,), (1348278468,), (1348278516,), (1348278823,), (1348278854,), (1348278909,), (1348279370,), (1348279394,), (1348279438,), (1348279546,), (1348279565,), (1348279628,), (1348279849,), (1348279903,), (1348279948,), (1348280011,), (1348280601,), (1348280653,), (1348280702,), (1348280875,), (1348281266,), (1348281300,), (1348281335,), (1348281362,), (1348281395,), (1348281698,), (1348281727,), (1348281756,), (1348281783,), (1348281814,), (1348281842,), (1348281999,), (1348282001,), (1348282005,), (1348282199,), (1348282237,), (1348282280,), (1348282361,), (1348282416,), (1348282455,), (1348282603,), (1348282612,), (1348282619,), (1348282627,), (1348282653,), (1348282703,), (1348282974,), (1348283019,), (1348283036,), (1348283092,), (1348283552,), (1348283591,), (1348283634,), (1348283644,), (1348283649,), (1348283654,), (1348283709,), (1348283731,), (1348283757,), (1348283782,), (1348283808,), (1348283910,), (1348284242,), (1348284294,), (1348284366,), (1348284408,), (1348284645,), (1348284753,), (1348284901,), (1348285001,), (1348285287,), (1348285355,), (1348286009,), (1348285674,), (1348285881,), (1348286679,), (1348286715,), (1348286758,), (1348286799,), (1348286867,), (1348286895,), (1348286922,), (1348286946,), (1348286973,), (1348286993,), (1348287121,), (1348287142,), (1348287169,), (1348287189,), (1348287356,), (1348287360,), (1348287364,), (1348287381,), (1348287405,), (1348287433,), (1348287643,), (1348287672,), (1348287695,), (1348287722,), (1348288142,), (1348288208,), (1348288272,), (1348288283,), (1348288297,), (1348288313,), (1348288591,), (1348288607,), (1348288609,), (1348288613,), (1348288684,), (1348288715,), (1348288812,), (1348288838,), (1348288880,), (1348288990,), (1348289001,), (1348289250,), (1348289352,), (1348289355,), (1348289360,), (1348289363,), (1348289409,), (1348289414,), (1348289419,), (1348290170,), (1348290440,), (1348290316,), (1348290355,), (1348291056,), (1348291113,), (1348291161,), (1348291192,), (1348291230,), (1348291647,), (1348291846,), (1348291943,), (1348292038,), (1348292128,), (1348292413,), (1348292442,), (1348292499,), (1348292547,), (1348292604,), (1348292658,), (1348293026,), (1348293080,), (1348293162,), (1348293255,), (1348293327,), (1348293376,), (1348293595,), (1348293625,), (1348293651,), (1348293681,), (1348293713,), (1348294048,), (1348294098,), (1348294207,), (1348294253,), (1348294329,), (1348294812,), (1348294868,), (1348294921,), (1348295218,), (1348295226,), (1348295231,), (1348295256,), (1348295583,), (1348295621,), (1348295653,), (1348295688,), (1348295709,), (1348295748,), (1348295942,), (1348295950,), (1348295955,), (1348295961,), (1348295983,), (1348296014,), (1348296142,), (1348296169,), (1348296196,), (1348296221,), (1348296533,), (1348296715,), (1348296790,), (1348296878,), (1348297620,), (1348297677,), (1348297720,), (1348297824,), (1348297893,), (1348298060,), (1348298087,), (1348298120,), (1348298161,), (1348298184,), (1348298494,), (1348298396,), (1348298475,), (1348298487,), (1348299010,), (1348299030,), (1348299059,), (1348299120,), (1348299145,), (1348299166,), (1348299487,), (1348299502,), (1348299510,), (1348299699,), (1348299718,), (1348299726,), (1348299733,), (1348300318,), (1348300412,), (1348300435,), (1348300443,), (1348300448,), (1348300474,), (1348300617,), (1348300663,), (1348300708,), (1348300737,), (1348300922,), (1348300930,), (1348300934,), (1348300939,), (1348300943,), (1348300947,), (1348301112,), (1348301119,), (1348301124,), (1348301140,), (1348301205,), (1348301209,), (1348301216,), (1348301221,), (1348301225,), (1348301231,), (1348301304,), (1348301332,), (1348301351,), (1348301399,), (1348301409,), (1348301496,), (1348301501,), (1348301507,), (1348301616,), (1348301762,), (1348301790,), (1348301796,), (1348301800,), (1348301805,), (1348301811,), (1348301995,), (1348302016,), (1348302047,), (1348302068,), (1348302086,), (1348302122,), (1348302327,), (1348302368,), (1348302399,), (1348302468,), (1348302737,), (1348302764,), (1348302792,), (1348302827,), (1348302835,), (1348302837,), (1348303070,), (1348303011,), (1348303043,), (1348303286,), (1348303309,), (1348303338,), (1348303378,), (1348303426,), (1348303478,), (1348303887,), (1348303947,), (1348304028,), (1348304045,), (1348304052,), (1348304070,), (1348304190,), (1348304250,), (1348304313,), (1348304372,), (1348304413,), (1348304535,), (1348304538,), (1348304541,), (1348304543,), (1348304561,), (1348304593,), (1348304999,), (1348305035,), (1348305102,), (1348305136,), (1348305268,), (1348305440,), (1348305442,), (1348305448,), (1348305455,), (1348305460,), (1348305468,), (1348305498,), (1348305505,), (1348305510,), (1348305539,), (1348305558,), (1348305563,), (1348305567,), (1348305573,), (1348305579,), (1348305585,), (1348305638,), (1348305651,), (1348305659,), (1348305667,), (1348305687,), (1348305695,), (1348305701,), (1348305706,), (1348305713,), (1348305719,), (1348305764,), (1348305769,), (1348305788,), (1348305797,), (1348305803,), (1348305833,), (1348305837,), (1348305842,), (1348305848,), (1348305882,), (1348305891,), (1348305897,), (1348305901,), (1348305909,), (1348305916,), (1348305942,), (1348305944,), (1348305949,), (1348305952,), (1348305956,), (1348306017,), (1348306000,), (1348306005,), (1348306007,), (1348306208,), (1348306212,), (1348306217,), (1348306223,), (1348306228,), (1348306506,), (1348306567,), (1348306626,), (1348306659,), (1348306680,), (1348306729,), (1348306733,), (1348306734,), (1348306773,), (1348306879,), (1348306891,), (1348306905,), (1348306925,), (1348306953,), (1348307051,), (1348307056,), (1348307061,), (1348307065,), (1348307071,), (1348307075,), (1348307110,), (1348307129,), (1348307137,), (1348307145,), (1348307194,), (1348307197,), (1348307220,), (1348307223,), (1348307227,), (1348307232,), (1348307264,), (1348307271,), (1348307279,), (1348307286,), (1348307312,), (1348307315,), (1348307319,), (1348307324,), (1348307329,), (1348307334,), (1348307372,), (1348307375,), (1348307378,), (1348307383,), (1348307388,), (1348307391,), (1348307408,), (1348307410,), (1348307414,), (1348307419,), (1348307622,), (1348307627,), (1348307630,), (1348307633,), (1348307635,), (1348307636,), (1348308073,), (1348308122,), (1348308168,), (1348308202,), (1348308684,), (1348308640,), (1348309203,), (1348309329,), (1348309355,), (1348309598,), (1348309701,), (1348309747,), (1348309792,), (1348309849,), (1348310222,), (1348310272,), (1348310332,), (1348310406,), (1348310458,), (1348310992,), (1348311049,), (1348311060,), (1348311075,), (1348311094,), (1348311181,), (1348311185,), (1348311201,), (1348311232,), (1348311264,), (1348311477,), (1348311498,), (1348311519,), (1348311525,), (1348311565,), (1348311617,), (1348311622,), (1348311628,), (1348311646,), (1348311729,), (1348311744,), (1348311758,), (1348311763,), (1348311771,), (1348311776,), (1348311923,), (1348311952,), (1348311971,), (1348312058,), (1348312071,), (1348312089,), (1348312102,), (1348312161,), (1348312165,), (1348312168,), (1348312171,), (1348312174,), (1348312179,), (1348312291,), (1348312316,), (1348312352,), (1348312384,), (1348312395,), (1348312409,), (1348312501,), (1348312526,), (1348312548,), (1348312572,), (1348312929,), (1348313002,), (1348313033,), (1348313039,), (1348313079,), (1348313302,), (1348313255,), (1348313284,), (1348313293,), (1348313297,), (1348313438,), (1348313448,), (1348313500,), (1348313522,), (1348313569,), (1348313572,), (1348313575,), (1348313586,), (1348313597,), (1348313603,), (1348313800,), (1348313912,), (1348313961,), (1348314345,), (1348314372,), (1348314377,), (1348314384,), (1348314392,), (1348314441,), (1348314467,), (1348314494,), (1348314523,), (1348314558,), (1348314579,), (1348314628,), (1348314661,), (1348314762,), (1348315011,), (1348315014,), (1348315017,), (1348315021,), (1348315026,), (1348315079,), (1348315081,), (1348315084,), (1348315092,), (1348315096,), (1348315102,), (1348315132,), (1348315134,), (1348315136,), (1348315210,), (1348315258,), (1348315263,), (1348315268,), (1348315272,), (1348315412,), (1348315416,), (1348315421,), (1348315426,), (1348315813,), (1348315833,), (1348315885,), (1348315900,), (1348315908,), (1348315936,), (1348316067,), (1348316074,), (1348316081,), (1348316088,), (1348316095,), (1348316103,), (1348316280,), (1348316284,), (1348316289,), (1348316490,), (1348316333,), (1348316342,), (1348316484,), (1348316942,), (1348316984,), (1348317010,), (1348317141,), (1348317144,), (1348317148,), (1348317152,), (1348317161,), (1348317170,), (1348317201,), (1348317204,), (1348317212,), (1348317255,), (1348317259,), (1348317262,), (1348317265,), (1348317269,), (1348317273,), (1348317305,), (1348317309,), (1348317312,), (1348317315,), (1348317381,), (1348317384,), (1348317386,), (1348317390,), (1348317441,), (1348317456,), (1348317460,), (1348317511,), (1348317515,), (1348317519,), (1348317526,), (1348317528,), (1348317531,), (1348317576,), (1348317580,), (1348317585,), (1348317591,), (1348317598,), (1348317814,), (1348317820,), (1348317827,), (1348317833,), (1348318014,), (1348318024,), (1348318032,), (1348318050,), (1348318063,), (1348318069,), (1348318130,), (1348318109,), (1348318114,), (1348318118,), (1348318122,), (1348318223,), (1348318234,), (1348318239,), (1348318246,), (1348318358,), (1348318363,), (1348318365,), (1348318371,), (1348318415,), (1348318423,), (1348318435,), (1348318446,), (1348318451,), (1348318462,), (1348318511,), (1348318518,), (1348318525,), (1348318555,), (1348318559,), (1348318562,), (1348318566,), (1348318571,), (1348318576,), (1348318598,), (1348318601,), (1348318604,), (1348318610,), (1348318660,), (1348318665,), (1348318668,), (1348318672,), (1348318679,), (1348318685,), (1348318728,), (1348318843,), (1348318846,), (1348318886,), (1348318887,), (1348318892,), (1348318925,), (1348318959,), (1348318985,), (1348319616,), (1348319649,), (1348319684,), (1348319756,), (1348319767,), (1348319770,), (1348319814,), (1348319807,), (1348319809,), (1348320100,), (1348320104,), (1348320129,), (1348320152,), (1348320900,), (1348321165,), (1348321169,), (1348321176,), (1348321211,), (1348321215,), (1348321225,), (1348321232,), (1348321246,), (1348321588,), (1348321615,), (1348321635,), (1348321645,), (1348321652,), (1348321658,), (1348321682,), (1348321687,), (1348321693,), (1348321726,), (1348321730,), (1348321734,), (1348321739,), (1348321744,), (1348321747,), (1348321794,), (1348321797,), (1348321801,), (1348321857,), (1348321866,), (1348321876,), (1348321880,), (1348321894,), (1348321916,), (1348322170,), (1348322193,), (1348322214,), (1348322240,), (1348322267,), (1348322463,), (1348322495,), (1348322534,), (1348322572,), (1348322853,), (1348322879,), (1348322909,), (1348322934,), (1348322967,), (1348322996,), (1348323086,), (1348323092,), (1348323095,), (1348323099,), (1348323153,), (1348323156,), (1348323160,), (1348323162,), (1348323166,), (1348323171,), (1348323405,), (1348323436,), (1348323462,), (1348323480,), (1348323523,), (1348323565,), (1348324125,), (1348323976,), (1348324041,), (1348324087,), (1348324468,), (1348324482,), (1348324496,), (1348324498,), (1348324560,), (1348324570,), (1348324726,), (1348324746,), (1348324754,), (1348324757,), (1348324827,), (1348324830,), (1348324832,), (1348324841,), (1348324853,), (1348324857,), (1348324986,), (1348325014,), (1348325041,), (1348325073,), (1348325098,), (1348325126,), (1348325324,), (1348325337,), (1348325363,), (1348325392,), (1348325508,), (1348325512,), (1348325514,), (1348325517,), (1348325522,), (1348325527,), (1348325626,), (1348325635,), (1348325639,), (1348325644,), (1348325653,), (1348325674,), (1348325707,), (1348325711,), (1348325715,), (1348325721,), (1348325725,), (1348325731,), (1348325823,), (1348325835,), (1348325838,), (1348325842,), (1348325846,), (1348325943,), (1348325947,), (1348325951,), (1348326000,), (1348326003,), (1348326019,), (1348326031,), (1348326045,), (1348326055,), (1348326105,), (1348326109,), (1348326115,), (1348326121,), (1348326238,), (1348326243,), (1348326245,), (1348329558,), (1348330707,), (1348330745,), (1348330784,), (1348331406,), (1348331436,), (1348331463,), (1348331513,), (1348331821,), (1348331853,), (1348331928,), (1348331965,), (1348332374,), (1348332402,), (1348332432,), (1348332460,), (1348332502,), (1348332507,), (1348332512,), (1348332519,), (1348332528,), (1348332744,), (1348332773,), (1348332804,), (1348332930,), (1348332938,), (1348332944,), (1348332950,), (1348332954,), (1348332987,), (1348332994,), (1348333003,), (1348333013,), (1348333018,), (1348333024,), (1348333049,), (1348333055,), (1348333059,), (1348333170,), (1348333182,), (1348333189,), (1348333198,), (1348333205,), (1348333209,), (1348333227,), (1348333232,), (1348333236,), (1348333243,), (1348333248,), (1348333255,), (1348333297,), (1348333301,), (1348333305,), (1348333310,), (1348333345,), (1348333352,), (1348333357,), (1348333360,), (1348333365,), (1348333371,), (1348333419,), (1348333422,), (1348333427,), (1348333433,), (1348333467,), (1348333472,), (1348333477,), (1348333482,), (1348333487,), (1348333596,), (1348333562,), (1348333569,), (1348333578,), (1348333586,), (1348333615,), (1348333622,), (1348333625,), (1348333631,), (1348333770,), (1348333785,), (1348333790,), (1348333798,), (1348333833,), (1348333840,), (1348333859,), (1348333863,), (1348333869,), (1348333875,), (1348333941,), (1348333945,), (1348333950,), (1348333961,), (1348333973,), (1348333999,), (1348334003,), (1348334008,), (1348334014,), (1348334018,), (1348334024,), (1348334049,), (1348334054,), (1348334068,), (1348334105,), (1348334110,), (1348334114,), (1348334118,), (1348334121,), (1348334126,), (1348334155,), (1348334159,), (1348334161,), (1348334167,), (1348334173,), (1348334201,), (1348334205,), (1348334209,), (1348334247,), (1348334250,), (1348334288,), (1348334347,), (1348334349,), (1348334352,), (1348334353,), (1348334357,), (1348334403,), (1348334408,), (1348334411,), (1348334417,), (1348334488,), (1348334500,), (1348334504,), (1348334507,), (1348334512,), (1348334752,), (1348334693,), (1348334729,), (1348334747,), (1348334782,), (1348334788,), (1348334798,), (1348334805,), (1348334806,), (1348334810,), (1348334838,), (1348334843,), (1348334848,), (1348334854,), (1348334858,), (1348334882,), (1348334915,), (1348334934,), (1348334949,), (1348334964,), (1348335052,), (1348335057,), (1348335084,), (1348335098,), (1348335108,), (1348335198,), (1348335202,), (1348335206,), (1348335210,), (1348335215,), (1348335242,), (1348335248,), (1348335253,), (1348335275,), (1348335280,), (1348335374,), (1348335379,), (1348335383,), (1348335774,), (1348335849,), (1348335964,), (1348336042,), (1348336133,), (1348336231,), (1348336758,), (1348336778,), (1348336803,), (1348336828,), (1348336884,), (1348336900,), (1348336939,), (1348336945,), (1348336959,), (1348336965,), (1348337009,), (1348337014,), (1348337020,), (1348337023,), (1348337026,), (1348337044,), (1348337200,), (1348337294,), (1348337315,), (1348337344,), (1348337361,), (1348337441,), (1348337445,), (1348337470,), (1348337474,), (1348337481,), (1348337574,), (1348337579,), (1348337585,), (1348337587,), (1348337590,), (1348337806,), (1348337790,), (1348337793,), (1348337797,), (1348337800,), (1348337803,), (1348337844,), (1348337852,), (1348338065,), (1348338078,), (1348338151,), (1348338184,), (1348338206,), (1348338244,), (1348338278,), (1348338348,), (1348338352,), (1348338357,), (1348338366,), (1348338448,), (1348338481,), (1348338508,), (1348338531,), (1348338576,), (1348338581,), (1348338585,), (1348338665,), (1348338699,), (1348338702,), (1348338710,), (1348338718,), (1348338822,), (1348338834,), (1348338875,), (1348338900,), (1348338915,), (1348338927,), (1348339015,), (1348339045,), (1348339050,), (1348339089,), (1348339093,), (1348339100,), (1348339108,), (1348339110,), (1348339115,), (1348339136,), (1348339141,), (1348339145,), (1348339149,), (1348339293,), (1348339321,), (1348339352,), (1348339379,), (1348339406,), (1348339434,), (1348339898,), (1348339910,), (1348339931,), (1348339937,), (1348339941,), (1348339945,), (1348340013,), (1348339978,), (1348339987,), (1348339992,), (1348340001,), (1348340051,), (1348340056,), (1348340063,), (1348340070,), (1348340229,), (1348340332,), (1348340492,), (1348340656,), (1348340851,), (1348341267,), (1348341281,), (1348341297,), (1348341303,), (1348341309,), (1348341315,), (1348341420,), (1348341545,), (1348341686,), (1348341851,), (1348341857,), (1348341864,), (1348341869,), (1348341873,), (1348341923,), (1348341929,), (1348341935,), (1348341941,), (1348341946,), (1348342006,), (1348342016,), (1348342101,), (1348342145,), (1348342159,), (1348342176,), (1348342354,), (1348342362,), (1348342382,), (1348342406,), (1348342410,), (1348342455,), (1348342474,), (1348342481,), (1348342485,), (1348342490,), (1348342494,), (1348342551,), (1348342562,), (1348342568,), (1348342580,), (1348342583,), (1348342656,), (1348342662,), (1348342685,), (1348342774,), (1348342804,), (1348343112,), (1348343147,), (1348343175,), (1348343198,), (1348343244,), (1348343252,), (1348343277,), (1348343284,), (1348343339,), (1348343329,), (1348343334,), (1348343388,), (1348343392,), (1348343399,), (1348343408,), (1348343413,), (1348343418,), (1348343461,), (1348343463,), (1348343468,), (1348343672,), (1348344538,), (1348344542,), (1348344702,), (1348344706,), (1348344807,), (1348344813,), (1348344818,), (1348344823,), (1348344828,), (1348344834,), (1348344852,), (1348344856,), (1348344860,), (1348344864,), (1348344868,), (1348344871,), (1348344892,), (1348344899,), (1348344905,), (1348344996,), (1348345006,), (1348345017,), (1348345021,), (1348345040,), (1348345221,), (1348345170,), (1348345210,), (1348345284,), (1348345288,), (1348345309,), (1348345316,), (1348345322,), (1348345386,), (1348345444,), (1348345465,), (1348345481,), (1348345502,), (1348345624,), (1348345629,), (1348345781,), (1348345829,), (1348345867,), (1348345893,), (1348346078,), (1348346082,), (1348346086,), (1348346093,), (1348346097,), (1348346123,), (1348346129,), (1348346145,), (1348346196,), (1348348251,), (1348348247,), (1348348514,), (1348348581,), (1348348637,), (1348348717,), (1348348797,), (1348348899,), (1348348969,), (1348348976,), (1348349070,), (1348349087,), (1348349092,), (1348349113,), (1348349136,), (1348349165,), (1348349222,), (1348349225,), (1348349228,), (1348349235,), (1348349262,), (1348349267,), (1348349271,), (1348349276,), (1348349281,), (1348349284,), (1348349318,), (1348349321,), (1348349326,), (1348349363,), (1348349366,), (1348349372,), (1348349464,), (1348349468,), (1348349472,), (1348349516,), (1348349520,), (1348349523,), (1348349569,), (1348349574,), (1348349579,), (1348349586,), (1348349593,), (1348349619,), (1348349624,), (1348349628,), (1348349632,), (1348349657,), (1348349661,), (1348349665,), (1348349668,), (1348349673,), (1348349704,), (1348349705,), (1348349707,), (1348349709,), (1348350192,), (1348350219,), (1348350247,), (1348350279,), (1348350302,), (1348350711,), (1348350568,), (1348350607,), (1348350635,), (1348350679,), (1348350826,), (1348350864,), (1348350909,), (1348351079,), (1348351524,), (1348351544,), (1348351572,), (1348351600,), (1348351771,), (1348351780,), (1348351789,), (1348351796,), (1348351804,), (1348351811,), (1348352008,), (1348352025,), (1348352037,), (1348352065,), (1348352197,), (1348352202,), (1348352208,), (1348352223,), (1348352276,), (1348352337,), (1348352342,), (1348352348,), (1348352354,), (1348352410,), (1348352414,), (1348352420,), (1348352426,), (1348352501,), (1348352513,), (1348352519,), (1348352522,), (1348352583,), (1348353825,), (1348353822,), (1348354013,), (1348354021,), (1348354055,), (1348354067,), (1348354180,), (1348354203,), (1348354228,), (1348354525,), (1348354552,), (1348354583,), (1348354587,), (1348354632,), (1348354634,), (1348354637,), (1348354685,), (1348354689,), (1348354698,), (1348354729,), (1348354763,), (1348354846,), (1348354848,), (1348354849,), (1348354852,), (1348354884,), (1348354889,), (1348354892,), (1348354896,), (1348354938,), (1348354940,), (1348354942,), (1348354982,), (1348354985,), (1348354990,), (1348354992,), (1348354997,), (1348355034,), (1348355035,), (1348355039,), (1348355041,), (1348355044,), (1348355048,), (1348355075,), (1348355083,), (1348355088,), (1348355091,), (1348355142,), (1348355144,), (1348355146,), (1348355148,), (1348355151,), (1348355152,), (1348355184,), (1348355676,), (1348355646,), (1348355843,), (1348355877,), (1348355882,), (1348355902,), (1348355908,), (1348356022,), (1348356024,), (1348356102,), (1348356106,), (1348356110,), (1348356114,), (1348356258,), (1348356273,), (1348356279,), (1348356281,), (1348356288,), (1348356325,), (1348356401,), (1348356404,), (1348356407,), (1348356410,), (1348356465,), (1348356477,), (1348356502,), (1348356603,), (1348356627,), (1348356629,), (1348356664,), (1348357057,), (1348361460,), (1348364943,), (1348365089,), (1348365116,), (1348365390,), (1348366000,), (1348366004,), (1348366137,), (1348366141,), (1348366173,), (1348366503,), (1348366535,), (1348366571,), (1348366610,), (1348366826,), (1348369137,), (1348370067,), (1348371715,), (1348372497,), (1348372914,), (1348376159,), (1348376174,), (1348377336,), (1348377460,), (1348378921,), (1348380353,), (1348381042,), (1348381160,), (1348381299,), (1348382046,), (1348382694,), (1348382745,), (1348390234,), (1348386778,), (1348391062,), (1348391664,), (1348391681,), (1348391813,), (1348393303,), (1348393357,), (1348393968,), (1348394035,), (1348394492,), (1348397165,), (1348398126,), (1348401620,), (1348401706,), (1348402285,), (1348403298,), (1348403370,), (1348405324,), (1348406583,), (1348407076,), (1348406969,), (1348407036,), (1348407543,), (1348408617,), (1348408646,), (1348410336,), (1348414436,), (1348414751,), (1348414821,), (1348415577,), (1348430169,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28032025': {'nb_upload': 33, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([21825012]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] map_info['map_portfolio_photo'] : {21825012: [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720]} final : True mtd_id 4302 list_pids : [1348168796, 1348168747, 1348168745, 1348168740, 1348168739, 1348168692, 1348168687, 1348168682, 1348168676, 1348168671, 1348168669, 1348168650, 1348168644, 1348168639, 1348168634, 1348168632, 1348168618, 1348168613, 1348168610, 1348168606, 1348168602, 1348168598, 1348168564, 1348168563, 1348168539, 1348168535, 1348168532, 1348168406, 1348168323, 1348168321, 1348168155, 1348167809, 1348167720] Looping around the photos to save general results len do output : 1 /21825012Didn'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, '2704265') ('4302', '21825012', '1348168796', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265') ('4302', None, None, None, None, None, None, None, '2704265') ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 34 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, '21825012', 'None', None, None, None, None, '2704265'), ('4302', '21825012', '1348168796', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168747', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168745', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168740', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168739', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168692', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168687', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168682', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168676', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168671', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168669', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168650', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168644', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168639', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168634', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168632', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168618', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168613', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168610', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168606', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168602', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168598', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168564', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168563', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168539', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168535', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168532', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168406', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168323', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168321', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348168155', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348167809', None, None, None, None, None, '2704265'), ('4302', '21825012', '1348167720', None, None, None, None, None, '2704265')] time used for this insertion : 0.01780223846435547 save_final save missing photos in datou_result : time spend for datou_step_exec : 6.0016820430755615 time spend to save output : 0.018256425857543945 total time spend for step 5 : 6.0199384689331055 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 (2704265) 3.94user 2.04system 0:25.99elapsed 23%CPU (0avgtext+0avgdata 160912maxresident)k 9424inputs+26288outputs (98major+86852minor)pagefaults 0swaps