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 : 1813545 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 (2857534) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2857534) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952585 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2857534'] with mtr_portfolio_ids : ['22952585'] and first list_photo_ids : [] new path : /proc/1813545/ Name: python3 Umask: 0002 State: R (running) Tgid: 1813545 Ngid: 0 Pid: 1813545 PPid: 1813542 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1813545 NSpid: 1813545 NSpgid: 1812520 NSsid: 1812520 VmPeak: 1107752 kB VmSize: 1107620 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99320 kB VmRSS: 99188 kB RssAnon: 60560 kB RssFile: 38628 kB RssShmem: 0 kB VmData: 866368 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 612 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 51 nonvoluntary_ctxt_switches: 112 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1813545', 'Ngid': '0', 'Pid': '1813545', 'PPid': '1813542', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1813545', 'NSpid': '1813545', 'NSpgid': '1812520', 'NSsid': '1812520', 'VmPeak': '1107752 kB', 'VmSize': '1107620 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99320 kB', 'VmRSS': '99188 kB', 'RssAnon': '60560 kB', 'RssFile': '38628 kB', 'RssShmem': '0 kB', 'VmData': '866368 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '612 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '112'} ('datou_batch_current', '1813545', '1107752', '0', '1107620', '866368', '99188', b'', 'marlene', '2857534') 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 (22952585) 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 (2857534 ) ) 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 (22952585) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1358115736, 'portfolio_id': 22952585}, {'photo_id': 1358114617, 'portfolio_id': 22952585}, {'photo_id': 1358114565, 'portfolio_id': 22952585}, {'photo_id': 1358113527, 'portfolio_id': 22952585}, {'photo_id': 1358113501, 'portfolio_id': 22952585}, {'photo_id': 1358113463, 'portfolio_id': 22952585}, {'photo_id': 1358113431, 'portfolio_id': 22952585}, {'photo_id': 1358113429, 'portfolio_id': 22952585}, {'photo_id': 1358113286, 'portfolio_id': 22952585}, {'photo_id': 1358113260, 'portfolio_id': 22952585}, {'photo_id': 1358113231, 'portfolio_id': 22952585}, {'photo_id': 1358113204, 'portfolio_id': 22952585}, {'photo_id': 1358113181, 'portfolio_id': 22952585}, {'photo_id': 1358113178, 'portfolio_id': 22952585}, {'photo_id': 1358113142, 'portfolio_id': 22952585}, {'photo_id': 1358113139, 'portfolio_id': 22952585}, {'photo_id': 1358113136, 'portfolio_id': 22952585}, {'photo_id': 1358113095, 'portfolio_id': 22952585}, {'photo_id': 1358113092, 'portfolio_id': 22952585}, {'photo_id': 1358113090, 'portfolio_id': 22952585}, {'photo_id': 1358113087, 'portfolio_id': 22952585}, {'photo_id': 1358113084, 'portfolio_id': 22952585}, {'photo_id': 1358113059, 'portfolio_id': 22952585}, {'photo_id': 1358113057, 'portfolio_id': 22952585}, {'photo_id': 1358113055, 'portfolio_id': 22952585}, {'photo_id': 1358113018, 'portfolio_id': 22952585}, {'photo_id': 1358113015, 'portfolio_id': 22952585}, {'photo_id': 1358113012, 'portfolio_id': 22952585}, {'photo_id': 1358113009, 'portfolio_id': 22952585}, {'photo_id': 1358112968, 'portfolio_id': 22952585}, {'photo_id': 1358112965, 'portfolio_id': 22952585}, {'photo_id': 1358112962, 'portfolio_id': 22952585}, {'photo_id': 1358112923, 'portfolio_id': 22952585}, {'photo_id': 1358112920, 'portfolio_id': 22952585}, {'photo_id': 1358112888, 'portfolio_id': 22952585}, {'photo_id': 1358112885, 'portfolio_id': 22952585}, {'photo_id': 1358112883, 'portfolio_id': 22952585}, {'photo_id': 1358112878, 'portfolio_id': 22952585}, {'photo_id': 1358112870, 'portfolio_id': 22952585}, {'photo_id': 1358112822, 'portfolio_id': 22952585}, {'photo_id': 1358112787, 'portfolio_id': 22952585}] map_portfolio_id_photo_id: {22952585: [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.021358728408813477 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu May 15 05:45:27 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22952585) 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 : 22952585 get user id for portfolio 22952585 get sub ptf for main ptf 22952585, type 3726 and hashtags ['Carton_gris', 'Teint_Dans_La_Masse', 'flou', 'papier', 'plastique', 'mal_croppe', 'autre_refus', 'metal', 'Carton_brun', 'kraft', 'environnement', 'cartonnette'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952585 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','flou','papier','plastique','mal_croppe','autre_refus','metal','Carton_brun','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952585 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','flou','papier','plastique','mal_croppe','autre_refus','metal','Carton_brun','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 22952585, 'sub_port_id': 22952589, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323505, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'plastique': {'main_port_id': 22952585, 'sub_port_id': 22952590, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323506, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'kraft': {'main_port_id': 22952585, 'sub_port_id': 22952591, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323507, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'Carton_gris': {'main_port_id': 22952585, 'sub_port_id': 22952592, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323508, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'autre_refus': {'main_port_id': 22952585, 'sub_port_id': 22952593, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323509, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'Carton_brun': {'main_port_id': 22952585, 'sub_port_id': 22952594, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323510, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'metal': {'main_port_id': 22952585, 'sub_port_id': 22952595, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323511, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'papier': {'main_port_id': 22952585, 'sub_port_id': 22952596, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323512, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'cartonnette': {'main_port_id': 22952585, 'sub_port_id': 22952597, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323513, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'environnement': {'main_port_id': 22952585, 'sub_port_id': 22952598, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323514, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'mal_croppe': {'main_port_id': 22952585, 'sub_port_id': 22952599, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323515, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 22952585, 'sub_port_id': 22952600, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323516, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22952589 , 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=22952585 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 (22952589) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952590 , 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=22952585 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 (22952590) result : ((1358115942,), (1358115943,), (1358115944,), (1358115946,), (1358119763,), (1358119766,), (1358119769,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952591 , 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=22952585 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 (22952591) result : ((1358115947,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952592 , 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=22952585 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 (22952592) result : ((1358112975,), (1358114386,), (1358114389,), (1358115917,), (1358115920,), (1358119726,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952593 , 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=22952585 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 (22952593) result : ((1358115904,), (1358115906,), (1358115908,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952594 , 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=22952585 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 (22952594) result : ((1358112979,), (1358114430,), (1358114433,), (1358114436,), (1358115937,), (1358115939,), (1358115941,), (1358119749,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952595 , 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=22952585 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 (22952595) result : ((1358115949,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952596 , 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=22952585 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 (22952596) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952597 , 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=22952585 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 (22952597) result : ((1358112977,), (1358113044,), (1358114405,), (1358114408,), (1358114411,), (1358115810,), (1358115928,), (1358115929,), (1358115930,), (1358115931,), (1358115932,), (1358115933,), (1358115934,), (1358115935,), (1358119738,), (1358119741,), (1358119743,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952598 , 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=22952585 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 (22952598) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952599 , 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=22952585 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 (22952599) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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 22952600 , 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=22952585 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 (22952600) result : ((1358112972,), (1358113376,), (1358115891,), (1358115893,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22952585) result : ((1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,)) 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`=22952585 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','flou','papier','plastique','mal_croppe','autre_refus','metal','Carton_brun','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952585 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_gris','Teint_Dans_La_Masse','flou','papier','plastique','mal_croppe','autre_refus','metal','Carton_brun','kraft','environnement','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'flou': {'main_port_id': 22952585, 'sub_port_id': 22952601, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323517, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'plastique': {'main_port_id': 22952585, 'sub_port_id': 22952602, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323518, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'kraft': {'main_port_id': 22952585, 'sub_port_id': 22952603, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323519, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'Carton_gris': {'main_port_id': 22952585, 'sub_port_id': 22952604, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323520, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'autre_refus': {'main_port_id': 22952585, 'sub_port_id': 22952605, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323521, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'Carton_brun': {'main_port_id': 22952585, 'sub_port_id': 22952606, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323522, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'metal': {'main_port_id': 22952585, 'sub_port_id': 22952607, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323523, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'papier': {'main_port_id': 22952585, 'sub_port_id': 22952608, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323524, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'cartonnette': {'main_port_id': 22952585, 'sub_port_id': 22952609, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323525, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'environnement': {'main_port_id': 22952585, 'sub_port_id': 22952610, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323526, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'mal_croppe': {'main_port_id': 22952585, 'sub_port_id': 22952611, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323527, 'last_updated_at': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 9, 51, 31), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}, 'Teint_Dans_La_Masse': {'main_port_id': 22952585, 'sub_port_id': 22952612, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323528, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 2, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 9, 51, 31)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952601,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952589 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952602,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952590 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952603,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952591 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952604,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952592 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952605,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952593 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952606,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952594 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952607,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952595 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952608,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952596 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952609,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952597 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952610,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952598 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952611,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952599 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22952612,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22952600 lien utilise dans velours : https://www.fotonower.com/velours/22952601,22952602,22952603,22952604,22952605,22952606,22952607,22952608,22952609,22952610,22952611,22952612?tags=flou,plastique,kraft,Carton_gris,autre_refus,Carton_brun,metal,papier,cartonnette,environnement,mal_croppe,Teint_Dans_La_Masse After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22952585]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] map_info['map_portfolio_photo'] : {22952585: [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787]} final : False mtd_id 4302 list_pids : [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] Looping around the photos to save general results len do output : 1 /22952585. 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, '2857534') ('4302', '22952585', '1358115736', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22952585', "{'flou': 22952589, 'plastique': 22952590, 'kraft': 22952591, 'Carton_gris': 22952592, 'autre_refus': 22952593, 'Carton_brun': 22952594, 'metal': 22952595, 'papier': 22952596, 'cartonnette': 22952597, 'environnement': 22952598, 'mal_croppe': 22952599, 'Teint_Dans_La_Masse': 22952600}", None, None, None, None, '2857534'), ('4302', '22952585', '1358115736', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534')] time used for this insertion : 0.031015396118164062 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.560614824295044 time spend to save output : 0.03145241737365723 total time spend for step 1 : 1.5920672416687012 step2:final Thu May 15 05:45:28 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 (22952585) 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 22952585 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1358112787,1358112822,1358112888,1358112885,1358112883,1358112878,1358112870,1358112923,1358112920,1358112968,1358112965,1358112962,1358113018,1358113015,1358113012,1358113009,1358113059,1358113057,1358113055,1358113095,1358113092,1358113090,1358113087,1358113084,1358113142,1358113139,1358113136,1358113286,1358113260,1358113231,1358113204,1358113181,1358113178,1358113527,1358113501,1358113463,1358113431,1358113429,1358114617,1358114565,1358115736); 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([22952585]) Inside saveOutput : final : False verbose : True original output for save of step final : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} new output for save of step final : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] map_info['map_portfolio_photo'] : {22952585: [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787]} final : False mtd_id 4302 list_pids : [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] Looping around the photos to save general results len do output : 41 /1358115736.Didn't retrieve data . /1358114617.Didn't retrieve data . /1358114565.Didn't retrieve data . /1358113527.Didn't retrieve data . /1358113501.Didn't retrieve data . /1358113463.Didn't retrieve data . /1358113431.Didn't retrieve data . /1358113429.Didn't retrieve data . /1358113286.Didn't retrieve data . /1358113260.Didn't retrieve data . /1358113231.Didn't retrieve data . /1358113204.Didn't retrieve data . /1358113181.Didn't retrieve data . /1358113178.Didn't retrieve data . /1358113142.Didn't retrieve data . /1358113139.Didn't retrieve data . /1358113136.Didn't retrieve data . /1358113095.Didn't retrieve data . /1358113092.Didn't retrieve data . /1358113090.Didn't retrieve data . /1358113087.Didn't retrieve data . /1358113084.Didn't retrieve data . /1358113059.Didn't retrieve data . /1358113057.Didn't retrieve data . /1358113055.Didn't retrieve data . /1358113018.Didn't retrieve data . /1358113015.Didn't retrieve data . /1358113012.Didn't retrieve data . /1358113009.Didn't retrieve data . /1358112968.Didn't retrieve data . /1358112965.Didn't retrieve data . /1358112962.Didn't retrieve data . /1358112923.Didn't retrieve data . /1358112920.Didn't retrieve data . /1358112888.Didn't retrieve data . /1358112885.Didn't retrieve data . /1358112883.Didn't retrieve data . /1358112878.Didn't retrieve data . /1358112870.Didn't retrieve data . /1358112822.Didn't retrieve data . /1358112787.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, '2857534') ('4302', '22952585', '1358115736', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 123 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22952585', '1358115736', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358114617', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358114565', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113527', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113501', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113463', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113431', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113429', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113286', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113260', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113231', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113204', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113181', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113178', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113142', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113139', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113136', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113095', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113092', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113090', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113087', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113084', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113059', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113057', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113055', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113018', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113015', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113012', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358113009', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112968', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112965', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112962', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112923', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112920', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112888', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112885', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112883', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112878', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112870', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112822', '0.05287649597433125', None, None, None, None, '2857534'), ('4302', '22952585', '1358112787', '0.05287649597433125', None, None, None, None, '2857534')] time used for this insertion : 0.37737083435058594 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.34034252166748047 time spend to save output : 0.3791329860687256 total time spend for step 2 : 0.719475507736206 step3:velours_tree Thu May 15 05:45:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {22952585: [{'flou': 22952589, 'plastique': 22952590, 'kraft': 22952591, 'Carton_gris': 22952592, 'autre_refus': 22952593, 'Carton_brun': 22952594, 'metal': 22952595, 'papier': 22952596, 'cartonnette': 22952597, 'environnement': 22952598, 'mal_croppe': 22952599, 'Teint_Dans_La_Masse': 22952600}]} input_args_next_step : {22952585: ()} output_args : {22952585: [{'flou': 22952589, 'plastique': 22952590, 'kraft': 22952591, 'Carton_gris': 22952592, 'autre_refus': 22952593, 'Carton_brun': 22952594, 'metal': 22952595, 'papier': 22952596, 'cartonnette': 22952597, 'environnement': 22952598, 'mal_croppe': 22952599, 'Teint_Dans_La_Masse': 22952600}]} args : 22952585 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 : ({'flou': 22952589, 'plastique': 22952590, 'kraft': 22952591, 'Carton_gris': 22952592, 'autre_refus': 22952593, 'Carton_brun': 22952594, 'metal': 22952595, 'papier': 22952596, 'cartonnette': 22952597, 'environnement': 22952598, 'mal_croppe': 22952599, 'Teint_Dans_La_Masse': 22952600},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22952585) 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([22952585]) 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.28608226776123047 time spend to save output : 6.0558319091796875e-05 total time spend for step 3 : 0.28614282608032227 step4:send_mail_cod Thu May 15 05:45:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} input_args_next_step : {1358115736: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358115736 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358114617 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358114565 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113527 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113501 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113463 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113431 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113429 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113286 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113260 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113231 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113204 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113181 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113178 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113142 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113139 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113136 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113095 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113092 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113090 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113087 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113084 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113059 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113057 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113055 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113018 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113015 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113012 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358113009 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112968 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112965 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112962 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112923 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112920 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112888 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112885 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112883 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112878 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112870 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112822 depend.output_id : 0 input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ()} output_args : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',)} args : 1358112787 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 : {22952585: [{'flou': 22952589, 'plastique': 22952590, 'kraft': 22952591, 'Carton_gris': 22952592, 'autre_refus': 22952593, 'Carton_brun': 22952594, 'metal': 22952595, 'papier': 22952596, 'cartonnette': 22952597, 'environnement': 22952598, 'mal_croppe': 22952599, 'Teint_Dans_La_Masse': 22952600}]} input_args_next_step : {1358115736: ('0.05287649597433125',), 1358114617: ('0.05287649597433125',), 1358114565: ('0.05287649597433125',), 1358113527: ('0.05287649597433125',), 1358113501: ('0.05287649597433125',), 1358113463: ('0.05287649597433125',), 1358113431: ('0.05287649597433125',), 1358113429: ('0.05287649597433125',), 1358113286: ('0.05287649597433125',), 1358113260: ('0.05287649597433125',), 1358113231: ('0.05287649597433125',), 1358113204: ('0.05287649597433125',), 1358113181: ('0.05287649597433125',), 1358113178: ('0.05287649597433125',), 1358113142: ('0.05287649597433125',), 1358113139: ('0.05287649597433125',), 1358113136: ('0.05287649597433125',), 1358113095: ('0.05287649597433125',), 1358113092: ('0.05287649597433125',), 1358113090: ('0.05287649597433125',), 1358113087: ('0.05287649597433125',), 1358113084: ('0.05287649597433125',), 1358113059: ('0.05287649597433125',), 1358113057: ('0.05287649597433125',), 1358113055: ('0.05287649597433125',), 1358113018: ('0.05287649597433125',), 1358113015: ('0.05287649597433125',), 1358113012: ('0.05287649597433125',), 1358113009: ('0.05287649597433125',), 1358112968: ('0.05287649597433125',), 1358112965: ('0.05287649597433125',), 1358112962: ('0.05287649597433125',), 1358112923: ('0.05287649597433125',), 1358112920: ('0.05287649597433125',), 1358112888: ('0.05287649597433125',), 1358112885: ('0.05287649597433125',), 1358112883: ('0.05287649597433125',), 1358112878: ('0.05287649597433125',), 1358112870: ('0.05287649597433125',), 1358112822: ('0.05287649597433125',), 1358112787: ('0.05287649597433125',), 22952585: ()} output_args : {22952585: [{'flou': 22952589, 'plastique': 22952590, 'kraft': 22952591, 'Carton_gris': 22952592, 'autre_refus': 22952593, 'Carton_brun': 22952594, 'metal': 22952595, 'papier': 22952596, 'cartonnette': 22952597, 'environnement': 22952598, 'mal_croppe': 22952599, 'Teint_Dans_La_Masse': 22952600}]} args : 22952585 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :42, first value : ('0.05287649597433125',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22952585) 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 (1358115736,1358114617,1358114565,1358113527,1358113501,1358113463,1358113431,1358113429,1358113286,1358113260,1358113231,1358113204,1358113181,1358113178,1358113142,1358113139,1358113136,1358113095,1358113092,1358113090,1358113087,1358113084,1358113059,1358113057,1358113055,1358113018,1358113015,1358113012,1358113009,1358112968,1358112965,1358112962,1358112923,1358112920,1358112888,1358112885,1358112883,1358112878,1358112870,1358112822,1358112787) Found this number of photos: 41 ##### Call download_photos : nb_thread : 5 begin to download photo : 1358112787 begin to download photo : 1358112962 begin to download photo : 1358113059 begin to download photo : 1358113178 begin to download photo : 1358113501 download finish for photo 1358112962 begin to download photo : 1358112965 download finish for photo 1358113178 begin to download photo : 1358113181 download finish for photo 1358113059 begin to download photo : 1358113084 download finish for photo 1358113501 begin to download photo : 1358113527 download finish for photo 1358112787 begin to download photo : 1358112822 download finish for photo 1358113084 begin to download photo : 1358113087 download finish for photo 1358112965 begin to download photo : 1358112968 download finish for photo 1358112822 begin to download photo : 1358112870 download finish for photo 1358113527 begin to download photo : 1358114565 download finish for photo 1358113181 begin to download photo : 1358113204 download finish for photo 1358112968 begin to download photo : 1358113009 download finish for photo 1358112870 begin to download photo : 1358112878 download finish for photo 1358113087 begin to download photo : 1358113090 download finish for photo 1358113204 begin to download photo : 1358113231 download finish for photo 1358114565 begin to download photo : 1358114617 download finish for photo 1358113090 begin to download photo : 1358113092 download finish for photo 1358112878 begin to download photo : 1358112883 download finish for photo 1358113009 begin to download photo : 1358113012 download finish for photo 1358114617 begin to download photo : 1358115736 download finish for photo 1358113231 begin to download photo : 1358113260 download finish for photo 1358113092 begin to download photo : 1358113095 download finish for photo 1358112883 begin to download photo : 1358112885 download finish for photo 1358115736 download finish for photo 1358113260 begin to download photo : 1358113286 download finish for photo 1358113095 begin to download photo : 1358113136 download finish for photo 1358113012 begin to download photo : 1358113015 download finish for photo 1358112885 begin to download photo : 1358112888 download finish for photo 1358113286 begin to download photo : 1358113429 download finish for photo 1358112888 begin to download photo : 1358112920 download finish for photo 1358113015 begin to download photo : 1358113018 download finish for photo 1358113136 begin to download photo : 1358113139 download finish for photo 1358113429 begin to download photo : 1358113431 download finish for photo 1358113018 begin to download photo : 1358113055 download finish for photo 1358112920 begin to download photo : 1358112923 download finish for photo 1358113139 begin to download photo : 1358113142 download finish for photo 1358113431 begin to download photo : 1358113463 download finish for photo 1358113055 begin to download photo : 1358113057 download finish for photo 1358112923 download finish for photo 1358113463 download finish for photo 1358113142 download finish for photo 1358113057 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette229525891747280731/ length of list_filenames : 41 ; length of list_pids : 41 ; length of list_args : 41 results_Auto_P22952585_15-05-2025_05_45_31.pdf 22952589 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=22952589 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229525891747280731 22952590 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=22952590 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358115942: '1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697209_0.png', 1358115943: '1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697205_0.png', 1358115944: '1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697430_0.png', 1358115946: '1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697534_0.png', 1358119763: '1747210046_1943793_1358113286_09d6f17ccf13814291f888c039d0899a_rle_crop_3796708871_0.png', 1358119766: '1747210046_1943793_1358113136_92845a3329afd7beed92c8de347a4ff2_rle_crop_3796708904_0.png', 1358119769: '1747210046_1943793_1358113136_92845a3329afd7beed92c8de347a4ff2_rle_crop_3796708903_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/679a982c52a1c3fe37195281f26c0dc1_14604998.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/277af114a19813c44658933bda0e3791_77152727.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/034e324c09c5eaecc9d0d519b9ffb507_4206667.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/bc6697bdc22f8f71688ab5a572584f10_95018171.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/61b2fe8c289e0a5513a0df6b79b47f31_58335650.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/51c00f3c1cda4e94a7c97b2053658e1e_89746532.png change filename to text .imagette229525901747280731/ imagette229525901747280731/1747210046_1943793_1358113136_92845a3329afd7beed92c8de347a4ff2_rle_crop_3796708904_0.png.png imagette229525901747280731/1747210046_1943793_1358113136_92845a3329afd7beed92c8de347a4ff2_rle_crop_3796708903_0.png.png imagette229525901747280731/1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697534_0.png.png imagette229525901747280731/1747210046_1943793_1358113286_09d6f17ccf13814291f888c039d0899a_rle_crop_3796708871_0.png.png imagette229525901747280731/1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697209_0.png.png imagette229525901747280731/1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697430_0.png.png imagette229525901747280731/1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697205_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/bc70a333c7888e6b6794cfcf747640d2_41174741.png imagette229525901747280731 22952591 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=22952591 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358115947: '1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697553_0.png'} change filename to text .imagette229525911747280732/ imagette229525911747280732/1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697553_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/6f5fe730a41966761853469e5ecd5ae8_18658536.png imagette229525911747280732 22952593 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=22952593 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358115904: '1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697186_0.png', 1358115906: '1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697200_0.png', 1358115908: '1747209685_1933421_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e_rle_crop_3796697800_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f77247660a3d025d5a1f962a172a5110_46210620.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/d8f5ad0b4ecdb2514a2f30f429f83568_99022880.png change filename to text .imagette229525931747280732/ imagette229525931747280732/1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697200_0.png.png imagette229525931747280732/1747209685_1933421_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e_rle_crop_3796697800_0.png.png imagette229525931747280732/1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697186_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/cc7a8d887c665529cdcfbee0fb0f6c05_35427227.png imagette229525931747280732 22952595 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=22952595 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358115949: '1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697427_0.png'} change filename to text .imagette229525951747280732/ imagette229525951747280732/1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697427_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/ac8fca84bad1d1f5fabd2cd0f6fd9524_12109257.png imagette229525951747280732 22952597 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=22952597 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358115930: '1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697203_0.png', 1358119743: '1747210046_1943793_1358113136_92845a3329afd7beed92c8de347a4ff2_rle_crop_3796708900_0.png', 1358119741: '1747210046_1943793_1358113139_51e7d5f1e9dd81338547b757a2dd6f41_rle_crop_3796708881_0.png', 1358119738: '1747210046_1943793_1358113286_09d6f17ccf13814291f888c039d0899a_rle_crop_3796708869_0.png', 1358115935: '1747209685_1933421_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e_rle_crop_3796697799_0.png', 1358115934: '1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697555_0.png', 1358115933: '1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697556_0.png', 1358115932: '1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697542_0.png', 1358115931: '1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697536_0.png', 1358112977: '1747209086_1910871_1358112878_da2e9e89fe8fff10dfdbe5786b0d1f98_rle_crop_3796669300_0.png', 1358115929: '1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697197_0.png', 1358115928: '1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697187_0.png', 1358115810: '1747209687_2947211_1358114617_9dc3a1db1fa715ff0b8cb3ff88d87d61_rle_crop_3796693900_0.png', 1358114411: '1747209566_1920127_1358113463_712f533d60f2d15bd947b34460493a67_rle_crop_3796691654_0.png', 1358114408: '1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691643_0.png', 1358114405: '1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691642_0.png', 1358113044: '1747209206_1913590_1358112965_986b6cdd7c40ef8375b01bc55243db4f_rle_crop_3796669352_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/1d3f2a5205591b5263b7c56f992433c8_79640884.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/824aff99e2b285f2a2858c3a38b0ac68_64327787.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/6a59df3de6c4dc5e46bb3611bc80626a_97553908.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/ea84d92608da9f9f36a9b33a231e7830_83190227.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a97cb34c3063e4f6be0c48d74dfde722_3655876.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c283ba5e59359a26a04e8f8adeca18e5_41958613.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/7ec9e331d660a7c33f35b690f2671da7_58767625.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9fd95efe4e1daa0b753b4b5ade50a795_59886014.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e029609d8a996860ed62859edbd049ad_29304339.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/57115ad8a9c7de5268bd4622fab0319a_67485304.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/3f927145c8472ea19a843bde9ff70f01_11188484.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/11f16b37524425ef6e1b5253c584ff97_7497701.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c503008e28b670ca8cfad5ff2b23a669_86952067.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/340ddeca30181d5de8c060e227f63442_69052544.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/403e0009ee60cf4acb02c36d8268d3eb_12348326.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/dc445b65b438b5701ee2f2555ae6fe84_35864368.png change filename to text .imagette229525971747280732/ imagette229525971747280732/1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691642_0.png.png imagette229525971747280732/1747210046_1943793_1358113139_51e7d5f1e9dd81338547b757a2dd6f41_rle_crop_3796708881_0.png.png imagette229525971747280732/1747209685_1933421_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e_rle_crop_3796697799_0.png.png imagette229525971747280732/1747209086_1910871_1358112878_da2e9e89fe8fff10dfdbe5786b0d1f98_rle_crop_3796669300_0.png.png imagette229525971747280732/1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691643_0.png.png imagette229525971747280732/1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697187_0.png.png imagette229525971747280732/1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697555_0.png.png imagette229525971747280732/1747210046_1943793_1358113136_92845a3329afd7beed92c8de347a4ff2_rle_crop_3796708900_0.png.png imagette229525971747280732/1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697542_0.png.png imagette229525971747280732/1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697536_0.png.png imagette229525971747280732/1747210046_1943793_1358113286_09d6f17ccf13814291f888c039d0899a_rle_crop_3796708869_0.png.png imagette229525971747280732/1747209206_1913590_1358112965_986b6cdd7c40ef8375b01bc55243db4f_rle_crop_3796669352_0.png.png imagette229525971747280732/1747209566_1920127_1358113463_712f533d60f2d15bd947b34460493a67_rle_crop_3796691654_0.png.png imagette229525971747280732/1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697556_0.png.png imagette229525971747280732/1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697197_0.png.png imagette229525971747280732/1747209687_2947211_1358114617_9dc3a1db1fa715ff0b8cb3ff88d87d61_rle_crop_3796693900_0.png.png imagette229525971747280732/1747209685_1933421_1358113260_b2700bc24aeeda6250e0a392ad26767c_rle_crop_3796697203_0.png.png imagette229525991747280734/ wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/481b0c86560019856b5d80d57cd3f2be_42213851.png imagette229525971747280732 22952599 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=22952599 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229525991747280734 22952592 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=22952592 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358112975: '1747209086_1910871_1358112870_9417c037bf7ec7ea6e5ac6e3e2398fc4_rle_crop_3796669313_0.png', 1358114386: '1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691644_0.png', 1358114389: '1747209566_1920127_1358113431_9580da58903dd1ffa61468c2119e0a0b_rle_crop_3796691670_0.png', 1358115917: '1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697541_0.png', 1358115920: '1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697554_0.png', 1358119726: '1747210046_1943793_1358113139_51e7d5f1e9dd81338547b757a2dd6f41_rle_crop_3796708876_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a3cc5f50a5162ac6cf164a213a457b76_98464451.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5cdf4cba1e9c89bd6510bee3483d9aa9_71512740.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8d23fdc23de5bbfe0b9f8edf73a64c44_2803735.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/672fa4aa9082ccd1d404b6fef550579e_56332177.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4620f9b2c7da7bba69fcdc656d5d1711_84463279.png change filename to text .imagette229525921747280734/ imagette229525921747280734/1747209086_1910871_1358112870_9417c037bf7ec7ea6e5ac6e3e2398fc4_rle_crop_3796669313_0.png.png imagette229525921747280734/1747209685_1933421_1358113204_373d282a892a5f18e0e0cb5683ec4fd6_rle_crop_3796697541_0.png.png imagette229525921747280734/1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691644_0.png.png imagette229525921747280734/1747210046_1943793_1358113139_51e7d5f1e9dd81338547b757a2dd6f41_rle_crop_3796708876_0.png.png imagette229525921747280734/1747209685_1933421_1358113181_fdf79c24189155872d00c2d6fc07b961_rle_crop_3796697554_0.png.png imagette229525921747280734/1747209566_1920127_1358113431_9580da58903dd1ffa61468c2119e0a0b_rle_crop_3796691670_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/0e06ba2dec1ba15308ff76ea09e79b79_90035098.png imagette229525921747280734 22952594 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=22952594 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358112979: '1747209086_1910871_1358112878_da2e9e89fe8fff10dfdbe5786b0d1f98_rle_crop_3796669306_0.png', 1358114430: '1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691646_0.png', 1358114433: '1747209566_1920127_1358113463_712f533d60f2d15bd947b34460493a67_rle_crop_3796691660_0.png', 1358114436: '1747209566_1920127_1358113463_712f533d60f2d15bd947b34460493a67_rle_crop_3796691659_0.png', 1358115937: '1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697188_0.png', 1358115939: '1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697426_0.png', 1358115941: '1747209685_1933421_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e_rle_crop_3796697806_0.png', 1358119749: '1747210046_1943793_1358113139_51e7d5f1e9dd81338547b757a2dd6f41_rle_crop_3796708883_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/96942c49d61b99e6f2a8b257138c5729_37752719.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/39dfa6a194c5d604af978a01e55ab102_60379804.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/990897dab6a7df53881dc714d7b5aacc_69406981.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/db26336794597af00f4de9fb86749ff9_72184914.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f52fa080e2d98b9c9b82be7e7a018a19_85483345.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8586b7ffd5168762359e7507e0b8f566_52153884.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/75bd7bad0f250ae13d4a7fe22f52f906_92716141.png change filename to text .imagette229525941747280734/ imagette229525941747280734/1747209086_1910871_1358112878_da2e9e89fe8fff10dfdbe5786b0d1f98_rle_crop_3796669306_0.png.png imagette229525941747280734/1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697426_0.png.png imagette229525941747280734/1747209566_1920127_1358113501_bc731454baca663a9a22ccd41e935f9b_rle_crop_3796691646_0.png.png imagette229525941747280734/1747209566_1920127_1358113463_712f533d60f2d15bd947b34460493a67_rle_crop_3796691660_0.png.png imagette229525941747280734/1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697188_0.png.png imagette229525941747280734/1747209566_1920127_1358113463_712f533d60f2d15bd947b34460493a67_rle_crop_3796691659_0.png.png imagette229525941747280734/1747210046_1943793_1358113139_51e7d5f1e9dd81338547b757a2dd6f41_rle_crop_3796708883_0.png.png imagette229525941747280734/1747209685_1933421_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e_rle_crop_3796697806_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/37482cec99bd3d5f8711b258833c61d0_46265376.png imagette229525941747280734 22952600 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=22952600 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358112972: '1747209086_1910871_1358112883_1cb1909eb89f88fb9dacbf5339fa0437_rle_crop_3796669289_0.png', 1358113376: '1747209446_1917152_1358113055_ad710ad1a16025908c0e03de0d5964ee_rle_crop_3796690139_0.png', 1358115891: '1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697189_0.png', 1358115893: '1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697428_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/99be02dfbd972d400f28ddeabbd13e81_84059261.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/925c84219e6fd43fb3f92286756e03a3_89505880.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/b3e66cd4d76377961c66404b86735722_63601327.png change filename to text .imagette229526001747280736/ imagette229526001747280736/1747209685_1933421_1358113527_2f7677c810ce787c88be681d04e565dd_rle_crop_3796697189_0.png.png imagette229526001747280736/1747209685_1933421_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb_rle_crop_3796697428_0.png.png imagette229526001747280736/1747209446_1917152_1358113055_ad710ad1a16025908c0e03de0d5964ee_rle_crop_3796690139_0.png.png imagette229526001747280736/1747209086_1910871_1358112883_1cb1909eb89f88fb9dacbf5339fa0437_rle_crop_3796669289_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/7a4958c39a1eae6cc3783bc86a87e513_88785754.png imagette229526001747280736 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22952585 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22952601,22952602,22952603,22952604,22952605,22952606,22952607,22952608,22952609,22952610,22952611,22952612?tags=flou,plastique,kraft,Carton_gris,autre_refus,Carton_brun,metal,papier,cartonnette,environnement,mal_croppe,Teint_Dans_La_Masse your option no_mail is active, we will not send the real mail to your client args[1358115736] : ('0.05287649597433125',) no score found for photo 1358115736 We are sending mail with results at report@fotonower.com args[1358114617] : ('0.05287649597433125',) no score found for photo 1358114617 We are sending mail with results at report@fotonower.com args[1358114565] : ('0.05287649597433125',) no score found for photo 1358114565 We are sending mail with results at report@fotonower.com args[1358113527] : ('0.05287649597433125',) no score found for photo 1358113527 We are sending mail with results at report@fotonower.com args[1358113501] : ('0.05287649597433125',) no score found for photo 1358113501 We are sending mail with results at report@fotonower.com args[1358113463] : ('0.05287649597433125',) no score found for photo 1358113463 We are sending mail with results at report@fotonower.com args[1358113431] : ('0.05287649597433125',) no score found for photo 1358113431 We are sending mail with results at report@fotonower.com args[1358113429] : ('0.05287649597433125',) no score found for photo 1358113429 We are sending mail with results at report@fotonower.com args[1358113286] : ('0.05287649597433125',) no score found for photo 1358113286 We are sending mail with results at report@fotonower.com args[1358113260] : ('0.05287649597433125',) no score found for photo 1358113260 We are sending mail with results at report@fotonower.com args[1358113231] : ('0.05287649597433125',) no score found for photo 1358113231 We are sending mail with results at report@fotonower.com args[1358113204] : ('0.05287649597433125',) no score found for photo 1358113204 We are sending mail with results at report@fotonower.com args[1358113181] : ('0.05287649597433125',) no score found for photo 1358113181 We are sending mail with results at report@fotonower.com args[1358113178] : ('0.05287649597433125',) no score found for photo 1358113178 We are sending mail with results at report@fotonower.com args[1358113142] : ('0.05287649597433125',) no score found for photo 1358113142 We are sending mail with results at report@fotonower.com args[1358113139] : ('0.05287649597433125',) no score found for photo 1358113139 We are sending mail with results at report@fotonower.com args[1358113136] : ('0.05287649597433125',) no score found for photo 1358113136 We are sending mail with results at report@fotonower.com args[1358113095] : ('0.05287649597433125',) no score found for photo 1358113095 We are sending mail with results at report@fotonower.com args[1358113092] : ('0.05287649597433125',) no score found for photo 1358113092 We are sending mail with results at report@fotonower.com args[1358113090] : ('0.05287649597433125',) no score found for photo 1358113090 We are sending mail with results at report@fotonower.com args[1358113087] : ('0.05287649597433125',) no score found for photo 1358113087 We are sending mail with results at report@fotonower.com args[1358113084] : ('0.05287649597433125',) no score found for photo 1358113084 We are sending mail with results at report@fotonower.com args[1358113059] : ('0.05287649597433125',) no score found for photo 1358113059 We are sending mail with results at report@fotonower.com args[1358113057] : ('0.05287649597433125',) no score found for photo 1358113057 We are sending mail with results at report@fotonower.com args[1358113055] : ('0.05287649597433125',) no score found for photo 1358113055 We are sending mail with results at report@fotonower.com args[1358113018] : ('0.05287649597433125',) no score found for photo 1358113018 We are sending mail with results at report@fotonower.com args[1358113015] : ('0.05287649597433125',) no score found for photo 1358113015 We are sending mail with results at report@fotonower.com args[1358113012] : ('0.05287649597433125',) no score found for photo 1358113012 We are sending mail with results at report@fotonower.com args[1358113009] : ('0.05287649597433125',) no score found for photo 1358113009 We are sending mail with results at report@fotonower.com args[1358112968] : ('0.05287649597433125',) no score found for photo 1358112968 We are sending mail with results at report@fotonower.com args[1358112965] : ('0.05287649597433125',) no score found for photo 1358112965 We are sending mail with results at report@fotonower.com args[1358112962] : ('0.05287649597433125',) no score found for photo 1358112962 We are sending mail with results at report@fotonower.com args[1358112923] : ('0.05287649597433125',) no score found for photo 1358112923 We are sending mail with results at report@fotonower.com args[1358112920] : ('0.05287649597433125',) no score found for photo 1358112920 We are sending mail with results at report@fotonower.com args[1358112888] : ('0.05287649597433125',) no score found for photo 1358112888 We are sending mail with results at report@fotonower.com args[1358112885] : ('0.05287649597433125',) no score found for photo 1358112885 We are sending mail with results at report@fotonower.com args[1358112883] : ('0.05287649597433125',) no score found for photo 1358112883 We are sending mail with results at report@fotonower.com args[1358112878] : ('0.05287649597433125',) no score found for photo 1358112878 We are sending mail with results at report@fotonower.com args[1358112870] : ('0.05287649597433125',) no score found for photo 1358112870 We are sending mail with results at report@fotonower.com args[1358112822] : ('0.05287649597433125',) no score found for photo 1358112822 We are sending mail with results at report@fotonower.com args[1358112787] : ('0.05287649597433125',) no score found for photo 1358112787 We are sending mail with results at report@fotonower.com refus_total : 0.05287649597433125 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=22952585 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_P22952585_15-05-2025_05_45_31.pdf results_Auto_P22952585_15-05-2025_05_45_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22952585','results_Auto_P22952585_15-05-2025_05_45_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf','pdf','','0.44','0.05287649597433125') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22952585]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] map_info['map_portfolio_photo'] : {22952585: [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787]} final : False mtd_id 4302 list_pids : [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] 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, '2857534') ('4302', '22952585', '1358115736', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 41 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '22952585', '1358115736', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534')] time used for this insertion : 0.7236552238464355 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.803030014038086 time spend to save output : 0.7241923809051514 total time spend for step 4 : 10.527222394943237 step5:split_time_score Thu May 15 05:45:40 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 : ['22952585'] 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 : [('22952585',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22952585) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1358113501: {'path': 'temp/1747280729_1813545_1358113501_bc731454baca663a9a22ccd41e935f9b.jpg', 'extension': 'jpg'}, 1358113527: {'path': 'temp/1747280729_1813545_1358113527_2f7677c810ce787c88be681d04e565dd.jpg', 'extension': 'jpg'}, 1358114565: {'path': 'temp/1747280729_1813545_1358114565_3b6f7155fe938df7230be6bb1c9b049d.jpg', 'extension': 'jpg'}, 1358114617: {'path': 'temp/1747280729_1813545_1358114617_9dc3a1db1fa715ff0b8cb3ff88d87d61.jpg', 'extension': 'jpg'}, 1358115736: {'path': 'temp/1747280729_1813545_1358115736_3c98af8e384903d680454784235b50d9.jpg', 'extension': 'jpg'}, 1358112787: {'path': 'temp/1747280729_1813545_1358112787_a3c96ecd3d2aff9c84255a920c1e6702.jpg', 'extension': 'jpg'}, 1358112822: {'path': 'temp/1747280729_1813545_1358112822_0401f324de99ec67024b584db08fad4b.jpg', 'extension': 'jpg'}, 1358112870: {'path': 'temp/1747280729_1813545_1358112870_9417c037bf7ec7ea6e5ac6e3e2398fc4.jpg', 'extension': 'jpg'}, 1358112878: {'path': 'temp/1747280729_1813545_1358112878_da2e9e89fe8fff10dfdbe5786b0d1f98.jpg', 'extension': 'jpg'}, 1358112883: {'path': 'temp/1747280729_1813545_1358112883_1cb1909eb89f88fb9dacbf5339fa0437.jpg', 'extension': 'jpg'}, 1358112885: {'path': 'temp/1747280729_1813545_1358112885_9a72121defd88a0d62a9a1f91d843fe9.jpg', 'extension': 'jpg'}, 1358112888: {'path': 'temp/1747280729_1813545_1358112888_08cfdb4f176170c6ea72ea0bb78f334a.jpg', 'extension': 'jpg'}, 1358112920: {'path': 'temp/1747280729_1813545_1358112920_aeb437fc8aa0dd42432bd9b19d697087.jpg', 'extension': 'jpg'}, 1358112923: {'path': 'temp/1747280729_1813545_1358112923_1d3118149456b3d828d837889a617bb8.jpg', 'extension': 'jpg'}, 1358113178: {'path': 'temp/1747280729_1813545_1358113178_1a975b70be8074c2d44fc5e1e6e97e4e.jpg', 'extension': 'jpg'}, 1358113181: {'path': 'temp/1747280729_1813545_1358113181_fdf79c24189155872d00c2d6fc07b961.jpg', 'extension': 'jpg'}, 1358113204: {'path': 'temp/1747280729_1813545_1358113204_373d282a892a5f18e0e0cb5683ec4fd6.jpg', 'extension': 'jpg'}, 1358113231: {'path': 'temp/1747280729_1813545_1358113231_b55f7b0f3f7bcb22f9d58dd33540fdbb.jpg', 'extension': 'jpg'}, 1358113260: {'path': 'temp/1747280729_1813545_1358113260_b2700bc24aeeda6250e0a392ad26767c.jpg', 'extension': 'jpg'}, 1358113286: {'path': 'temp/1747280729_1813545_1358113286_09d6f17ccf13814291f888c039d0899a.jpg', 'extension': 'jpg'}, 1358113429: {'path': 'temp/1747280729_1813545_1358113429_55c9de1a61488ffdd8bb27ec5a3b9ecf.jpg', 'extension': 'jpg'}, 1358113431: {'path': 'temp/1747280729_1813545_1358113431_9580da58903dd1ffa61468c2119e0a0b.jpg', 'extension': 'jpg'}, 1358113463: {'path': 'temp/1747280729_1813545_1358113463_712f533d60f2d15bd947b34460493a67.jpg', 'extension': 'jpg'}, 1358113059: {'path': 'temp/1747280729_1813545_1358113059_226d70f235c38892349de3863896c9fa.jpg', 'extension': 'jpg'}, 1358113084: {'path': 'temp/1747280729_1813545_1358113084_ea297bdf0045b73fcfe814ea232a354d.jpg', 'extension': 'jpg'}, 1358113087: {'path': 'temp/1747280729_1813545_1358113087_64980b717089ecf24ccb065faa509ede.jpg', 'extension': 'jpg'}, 1358113090: {'path': 'temp/1747280729_1813545_1358113090_5d62b43c4977099a7ca9409a7ebf8065.jpg', 'extension': 'jpg'}, 1358113092: {'path': 'temp/1747280729_1813545_1358113092_10bf75b870ebc4f49d42469b2222189d.jpg', 'extension': 'jpg'}, 1358113095: {'path': 'temp/1747280729_1813545_1358113095_db0783e50360ff6555245cc864596833.jpg', 'extension': 'jpg'}, 1358113136: {'path': 'temp/1747280729_1813545_1358113136_92845a3329afd7beed92c8de347a4ff2.jpg', 'extension': 'jpg'}, 1358113139: {'path': 'temp/1747280729_1813545_1358113139_51e7d5f1e9dd81338547b757a2dd6f41.jpg', 'extension': 'jpg'}, 1358113142: {'path': 'temp/1747280729_1813545_1358113142_dd79c13462e6616661ba47358f56d1aa.jpg', 'extension': 'jpg'}, 1358112962: {'path': 'temp/1747280729_1813545_1358112962_6bf3f290db41dbab98e355eda6275c4e.jpg', 'extension': 'jpg'}, 1358112965: {'path': 'temp/1747280729_1813545_1358112965_986b6cdd7c40ef8375b01bc55243db4f.jpg', 'extension': 'jpg'}, 1358112968: {'path': 'temp/1747280729_1813545_1358112968_2fca0019b479fdc097121b70cf41ef95.jpg', 'extension': 'jpg'}, 1358113009: {'path': 'temp/1747280729_1813545_1358113009_ebc28232d36c076bac4b07b780914b19.jpg', 'extension': 'jpg'}, 1358113012: {'path': 'temp/1747280729_1813545_1358113012_7fa4740c295ab2618e89194b997764e4.jpg', 'extension': 'jpg'}, 1358113015: {'path': 'temp/1747280729_1813545_1358113015_ac1900e843a5a65bf31898b18a30912c.jpg', 'extension': 'jpg'}, 1358113018: {'path': 'temp/1747280729_1813545_1358113018_dd1bab257f77a9cbec3dab6d3e0d5732.jpg', 'extension': 'jpg'}, 1358113055: {'path': 'temp/1747280729_1813545_1358113055_ad710ad1a16025908c0e03de0d5964ee.jpg', 'extension': 'jpg'}, 1358113057: {'path': 'temp/1747280729_1813545_1358113057_52ad3b104ed03268f2a464a397af5cc3.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 = 22952585; (('arc_en_ciel_jrm_bis',), ('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 = 22952585 group by h (('09', 41),) 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=22952585 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 (22952585) 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 (22952585) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 14052025 22952585 Nombre de photos uploadées : 41 / 23040 (0%) 14052025 22952585 Nombre de photos taguées (types de déchets): 0 / 41 (0%) 14052025 22952585 Nombre de photos taguées (volume) : 0 / 41 (0%) [{'photo_id': 1358112787, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a3c96ecd3d2aff9c84255a920c1e6702.jpg', 'username': None, 'uploaded_at': 1747208887, 'text': 'image_14052025_09_47_53_10141.jpg'}, {'photo_id': 1358112822, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/0401f324de99ec67024b584db08fad4b.jpg', 'username': None, 'uploaded_at': 1747208947, 'text': 'image_14052025_09_48_14_10138.jpg'}, {'photo_id': 1358112888, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/08cfdb4f176170c6ea72ea0bb78f334a.jpg', 'username': None, 'uploaded_at': 1747209007, 'text': 'image_14052025_09_48_24_10137.jpg'}, {'photo_id': 1358112885, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9a72121defd88a0d62a9a1f91d843fe9.jpg', 'username': None, 'uploaded_at': 1747209007, 'text': 'image_14052025_09_49_03_10145.jpg'}] 0 [] elapsed_time : load_data_split_time_score 2.86102294921875e-06 elapsed_time : order_list_meta_photo_and_scores 6.9141387939453125e-06 ????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0012431144714355469 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22952585, '2025-05-14' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1803731,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.023628711700439453 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= 1803731 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22945509, 'dashboard_result_id': 10573860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945521, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22945880, 'dashboard_result_id': 10573861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945893, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22945987, 'dashboard_result_id': 10573862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946000, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946016, 'dashboard_result_id': 10573863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946034, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946286, 'dashboard_result_id': 10573864, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946298, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946489, 'dashboard_result_id': 10573865, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946501, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22946811, 'dashboard_result_id': 10573866, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946862, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22947229, 'dashboard_result_id': 10573867, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947241, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22947610, 'dashboard_result_id': 10573868, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947628, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22947885, 'dashboard_result_id': 10573869, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947911, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22948351, 'dashboard_result_id': 10573870, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22948389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948401, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22948827, 'dashboard_result_id': 10573871, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22948873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948877, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22949170, 'dashboard_result_id': 10573872, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949232, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22949616, 'dashboard_result_id': 10573873, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949628, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22950052, 'dashboard_result_id': 10573874, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950090, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22950465, 'dashboard_result_id': 10573875, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950491, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22950919, 'dashboard_result_id': 10573876, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22951000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22951001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22951002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22951003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22951004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22951005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22951006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22951007, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22952363, 'dashboard_result_id': 10573877, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22952417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952425, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22952585, 'dashboard_result_id': 10573878, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_14-05-2025_10_02_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22952589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952600, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22953062, 'dashboard_result_id': 10573879, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_14-05-2025_10_19_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22953073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953084, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22953747, 'dashboard_result_id': 10573880, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_14-05-2025_10_40_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22953765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953769, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22954655, 'dashboard_result_id': 10573881, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_14-05-2025_10_47_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22954670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22954671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22954672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22954673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22954674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22954675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22954676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22954677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22954678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22954679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22954680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22954681, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22954977, 'dashboard_result_id': 10573882, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_14-05-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22955006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955017, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22955774, 'dashboard_result_id': 10573883, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_14-05-2025_11_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22955838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955841, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22956668, 'dashboard_result_id': 10573884, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_14-05-2025_11_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22956707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22956708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22956709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22956710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22956711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22956712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22956713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22956714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22956715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22956716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22956717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22956718, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22957362, 'dashboard_result_id': 10573885, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_14-05-2025_11_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22957436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22957437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22957438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22957439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22957440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22957441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22957442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22957443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22957444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22957445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22957446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22957447, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22958312, 'dashboard_result_id': 10573886, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_14-05-2025_12_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958449, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22958946, 'dashboard_result_id': 10573887, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_14-05-2025_12_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958972, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22962740, 'dashboard_result_id': 10573888, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_14-05-2025_14_13_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22962744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22962745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22962746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22962747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22962748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22962749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22962750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22962751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22962752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22962753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22962754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22962755, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22963704, 'dashboard_result_id': 10573889, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_14-05-2025_14_33_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22963737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22963738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22963740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22963741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22963742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22963744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22963745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22963746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22963748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22963749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22963750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22963752, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22964232, 'dashboard_result_id': 10573890, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_14-05-2025_14_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22964256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964267, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22964933, 'dashboard_result_id': 10573891, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_14-05-2025_15_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22964949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964951, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22965742, 'dashboard_result_id': 10573892, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_14-05-2025_15_16_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22965822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22965823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22965824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22965825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22965826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22965827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22965828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22965829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22965830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22965831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22965832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22965833, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22966668, 'dashboard_result_id': 10573893, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_14-05-2025_15_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22966676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22966677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22966678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22966679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22966680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22966681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22966682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22966683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22966684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22966685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22966686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22966687, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22967453, 'dashboard_result_id': 10573894, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_14-05-2025_15_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22967521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22967522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22967523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22967524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22967525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22967526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22967527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22967528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22967529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22967530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22967531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22967532, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22968287, 'dashboard_result_id': 10573895, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_14-05-2025_16_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22968304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22968305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22968306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22968307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22968308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22968309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22968310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22968311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22968312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22968313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22968314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22968315, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22969135, 'dashboard_result_id': 10573896, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969220, 'pht': 3726}, 'url_report': ''}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22969729, 'dashboard_result_id': 10573897, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_14-05-2025_16_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969759, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22970336, 'dashboard_result_id': 10573898, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970336_14-05-2025_16_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970384, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22970772, 'dashboard_result_id': 10573899, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_14-05-2025_17_02_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970804, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22971458, 'dashboard_result_id': 10573900, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_14-05-2025_17_18_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971486, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22971781, 'dashboard_result_id': 10573901, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_14-05-2025_17_34_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971801, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971810, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22973918, 'dashboard_result_id': 10573902, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_14-05-2025_18_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22973925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22973927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22973928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22973929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22973930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22973931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22973932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22973933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22973934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22973935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22973936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22973937, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22974968, 'dashboard_result_id': 10573903, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_14-05-2025_18_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22974976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22974977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22974978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22974979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22974980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22974981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22974982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22974983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22974984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22974985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22974986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22974987, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22975448, 'dashboard_result_id': 10573904, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_14-05-2025_19_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22975455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22975456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22975457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22975458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22975459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22975460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22975461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22975462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22975463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22975464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22975465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22975466, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22975977, 'dashboard_result_id': 10573905, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_14-05-2025_19_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976035, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22976406, 'dashboard_result_id': 10573906, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_14-05-2025_19_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22976410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976421, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22976844, 'dashboard_result_id': 10573907, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_14-05-2025_19_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22976936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976948, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22977577, 'dashboard_result_id': 10573908, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_14-05-2025_20_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22977625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22977626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22977627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22977628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22977630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22977631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22977632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22977633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22977634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22977636, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22978253, 'dashboard_result_id': 10573909, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_14-05-2025_20_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22978297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22978298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22978299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22978300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22978301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22978302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22978303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22978304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22978305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22978306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22978308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22978309, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22979051, 'dashboard_result_id': 10573910, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_14-05-2025_20_32_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22979092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979094, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22979674, 'dashboard_result_id': 10573911, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_14-05-2025_21_07_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22979688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979700, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22980730, 'dashboard_result_id': 10573912, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_14-05-2025_21_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22980782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22980783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22980784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22980785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22980786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22980787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22980788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22980789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22980790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22980791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22980792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22980793, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22981091, 'dashboard_result_id': 10573913, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_14-05-2025_21_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981118, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22981409, 'dashboard_result_id': 10573914, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_14-05-2025_21_50_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981446, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22982000, 'dashboard_result_id': 10573915, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_14-05-2025_22_03_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982056, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22982544, 'dashboard_result_id': 10573916, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_14-05-2025_22_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982580, 'pht': 3726}}"}, {'dashboat_entry_day': 1803731, 'dashboard_run_id': 1814888, 'mtr_portfolio_id': 22983615, 'dashboard_result_id': 10573917, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_14-05-2025_22_30_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22983628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22983629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22983630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22983631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22983632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22983633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22983634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22983635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22983636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22983637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22983638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22983639, '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 = 22945509 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857516, 'mtr_portfolio_id': 22945509, 'created_at': datetime.datetime(2025, 5, 15, 5, 34, 28), 'result': '0.07266391255964268', 'result_long': None, 'result_double': None}] Qualite : 0.07266391255964268 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22945509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22945509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945521, 'pht': 3726}}" where mtr_portfolio_id = 22945509 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22945509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573860, 0.07266391255964268, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945509_15-05-2025_05_34_29.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945510, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945511, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945512, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945513, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945514, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945515, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945516, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945517, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945518, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945519, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945520, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945521, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22945880 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857517, 'mtr_portfolio_id': 22945880, 'created_at': datetime.datetime(2025, 5, 15, 5, 34, 57), 'result': '0.0883642758020635', 'result_long': None, 'result_double': None}] Qualite : 0.0883642758020635 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22945880 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22945880 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945893, 'pht': 3726}}" where mtr_portfolio_id = 22945880 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22945880 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573861, 0.0883642758020635, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945880_15-05-2025_05_34_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945882, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22945884, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945889, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945893, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22945987 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857518, 'mtr_portfolio_id': 22945987, 'created_at': datetime.datetime(2025, 5, 15, 5, 35, 32), 'result': '0.054223971837016244', 'result_long': None, 'result_double': None}] Qualite : 0.054223971837016244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22945987 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22945987 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946000, 'pht': 3726}}" where mtr_portfolio_id = 22945987 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22945987 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573862, 0.054223971837016244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22945987_15-05-2025_05_35_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22945989, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22945990, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22945991, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22945992, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22945993, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22945994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22945995, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22945996, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22945997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22945998, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22945999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946000, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946016 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857519, 'mtr_portfolio_id': 22946016, 'created_at': datetime.datetime(2025, 5, 15, 5, 35, 28), 'result': '0.04162692686571983', 'result_long': None, 'result_double': None}] Qualite : 0.04162692686571983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946016 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946016 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946034, 'pht': 3726}}" where mtr_portfolio_id = 22946016 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946016 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573863, 0.04162692686571983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946016_15-05-2025_05_35_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946024, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946025, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946027, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946028, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946029, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946030, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946033, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946034, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946286 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857520, 'mtr_portfolio_id': 22946286, 'created_at': datetime.datetime(2025, 5, 15, 5, 35, 59), 'result': '0.05549711134110829', 'result_long': None, 'result_double': None}] Qualite : 0.05549711134110829 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946286 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946286 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946298, 'pht': 3726}}" where mtr_portfolio_id = 22946286 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946286 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573864, 0.05549711134110829, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946286_15-05-2025_05_36_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946287, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946288, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946289, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946290, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946292, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946296, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946297, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946298, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946489 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857521, 'mtr_portfolio_id': 22946489, 'created_at': datetime.datetime(2025, 5, 15, 5, 36, 30), 'result': '0.05403633433425369', 'result_long': None, 'result_double': None}] Qualite : 0.05403633433425369 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946489 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946489 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946501, 'pht': 3726}}" where mtr_portfolio_id = 22946489 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946489 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573865, 0.05403633433425369, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946489_15-05-2025_05_36_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946490, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946491, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946492, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946494, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946495, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946496, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946498, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946500, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946501, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22946811 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857522, 'mtr_portfolio_id': 22946811, 'created_at': datetime.datetime(2025, 5, 15, 5, 37, 58), 'result': '0.04646128243050802', 'result_long': None, 'result_double': None}] Qualite : 0.04646128243050802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22946811 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22946811 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946862, 'pht': 3726}}" where mtr_portfolio_id = 22946811 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22946811 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573866, 0.04646128243050802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22946811_15-05-2025_05_38_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22946851, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22946852, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22946853, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22946854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22946855, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22946856, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22946857, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22946858, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22946859, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22946860, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22946861, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22946862, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22947229 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857523, 'mtr_portfolio_id': 22947229, 'created_at': datetime.datetime(2025, 5, 15, 5, 38, 29), 'result': '0.056823103388243444', 'result_long': None, 'result_double': None}] Qualite : 0.056823103388243444 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22947229 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22947229 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947241, 'pht': 3726}}" where mtr_portfolio_id = 22947229 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22947229 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573867, 0.056823103388243444, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947229_15-05-2025_05_38_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947231, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947232, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947233, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947234, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947235, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947236, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947239, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947241, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22947610 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857524, 'mtr_portfolio_id': 22947610, 'created_at': datetime.datetime(2025, 5, 15, 5, 39, 30), 'result': '0.05619088668202262', 'result_long': None, 'result_double': None}] Qualite : 0.05619088668202262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22947610 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22947610 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947628, 'pht': 3726}}" where mtr_portfolio_id = 22947610 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22947610 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573868, 0.05619088668202262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947610_15-05-2025_05_39_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947617, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947618, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947619, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947621, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947622, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947623, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947624, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22947885 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857525, 'mtr_portfolio_id': 22947885, 'created_at': datetime.datetime(2025, 5, 15, 5, 39, 58), 'result': '0.04014452338009036', 'result_long': None, 'result_double': None}] Qualite : 0.04014452338009036 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22947885 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22947885 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947911, 'pht': 3726}}" where mtr_portfolio_id = 22947885 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22947885 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573869, 0.04014452338009036, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22947885_15-05-2025_05_40_01.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22947899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22947900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22947901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22947902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22947903, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22947904, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22947905, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22947906, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22947908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22947909, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22947910, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22947911, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22948351 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857526, 'mtr_portfolio_id': 22948351, 'created_at': datetime.datetime(2025, 5, 15, 5, 40, 28), 'result': '0.04391898745671169', 'result_long': None, 'result_double': None}] Qualite : 0.04391898745671169 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22948351 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948351 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22948389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948401, 'pht': 3726}}" where mtr_portfolio_id = 22948351 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22948351 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573870, 0.04391898745671169, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948351_15-05-2025_05_40_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22948389, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948390, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948391, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948392, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948393, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948394, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948396, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948397, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948398, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948399, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948401, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22948827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857527, 'mtr_portfolio_id': 22948827, 'created_at': datetime.datetime(2025, 5, 15, 5, 41, 28), 'result': '0.04315007547678833', 'result_long': None, 'result_double': None}] Qualite : 0.04315007547678833 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22948827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22948827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22948873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948877, 'pht': 3726}}" where mtr_portfolio_id = 22948827 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22948827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573871, 0.04315007547678833, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22948827_15-05-2025_05_41_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22948865, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22948866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22948867, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22948868, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22948870, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22948871, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22948872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22948873, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22948874, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22948875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22948876, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22948877, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22949170 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857528, 'mtr_portfolio_id': 22949170, 'created_at': datetime.datetime(2025, 5, 15, 5, 41, 57), 'result': '0.030428824676329902', 'result_long': None, 'result_double': None}] Qualite : 0.030428824676329902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22949170 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22949170 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949232, 'pht': 3726}}" where mtr_portfolio_id = 22949170 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22949170 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573872, 0.030428824676329902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949170_15-05-2025_05_42_02.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949220, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949221, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949222, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949223, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949224, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949225, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949226, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949229, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949230, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949231, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949232, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22949616 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857529, 'mtr_portfolio_id': 22949616, 'created_at': datetime.datetime(2025, 5, 15, 5, 42, 28), 'result': '0.057821987938050344', 'result_long': None, 'result_double': None}] Qualite : 0.057821987938050344 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22949616 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22949616 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949628, 'pht': 3726}}" where mtr_portfolio_id = 22949616 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22949616 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573873, 0.057821987938050344, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22949616_15-05-2025_05_42_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22949617, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22949618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22949619, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22949620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22949621, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22949622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22949623, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22949624, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22949625, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22949626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22949627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22949628, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22950052 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857530, 'mtr_portfolio_id': 22950052, 'created_at': datetime.datetime(2025, 5, 15, 5, 42, 58), 'result': '0.048520356348323454', 'result_long': None, 'result_double': None}] Qualite : 0.048520356348323454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22950052 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22950052 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950090, 'pht': 3726}}" where mtr_portfolio_id = 22950052 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22950052 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573874, 0.048520356348323454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950052_15-05-2025_05_43_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950081, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950083, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950084, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950085, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950086, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950090, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22950465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857531, 'mtr_portfolio_id': 22950465, 'created_at': datetime.datetime(2025, 5, 15, 5, 43, 29), 'result': '0.0599378592461905', 'result_long': None, 'result_double': None}] Qualite : 0.0599378592461905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22950465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22950465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950491, 'pht': 3726}}" where mtr_portfolio_id = 22950465 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22950465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573875, 0.0599378592461905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950465_15-05-2025_05_43_32.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22950481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22950482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950483, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22950484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22950485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22950486, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950487, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22950488, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22950490, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22950491, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22950919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857532, 'mtr_portfolio_id': 22950919, 'created_at': datetime.datetime(2025, 5, 15, 5, 44, 1), 'result': '0.0755095885978364', 'result_long': None, 'result_double': None}] Qualite : 0.0755095885978364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22950919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22950919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22951000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22951001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22951002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22951003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22951004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22951005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22951006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22951007, 'pht': 3726}}" where mtr_portfolio_id = 22950919 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22950919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573876, 0.0755095885978364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22950919_15-05-2025_05_44_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22950996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22950997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22950998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22950999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22951000, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22951001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22951002, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22951003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22951004, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22951005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22951006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22951007, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22952363 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857533, 'mtr_portfolio_id': 22952363, 'created_at': datetime.datetime(2025, 5, 15, 5, 44, 58), 'result': '0.0640778613908616', 'result_long': None, 'result_double': None}] Qualite : 0.0640778613908616 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22952363 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22952363 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22952417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952425, 'pht': 3726}}" where mtr_portfolio_id = 22952363 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952363 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573877, 0.0640778613908616, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952363_15-05-2025_05_45_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952414, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952415, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952416, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22952417, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952418, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952419, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952421, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952422, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952423, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952424, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952425, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22952585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2857534, 'mtr_portfolio_id': 22952585, 'created_at': datetime.datetime(2025, 5, 15, 5, 45, 29), 'result': '0.05287649597433125', 'result_long': None, 'result_double': None}] Qualite : 0.05287649597433125 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22952585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22952585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22952589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952600, 'pht': 3726}}" where mtr_portfolio_id = 22952585 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22952585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573878, 0.05287649597433125, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22952585_15-05-2025_05_45_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22952589, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22952590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22952591, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22952592, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22952593, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22952594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22952595, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22952596, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22952597, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22952598, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22952599, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22952600, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22953062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2846910, 'mtr_portfolio_id': 22953062, 'created_at': datetime.datetime(2025, 5, 14, 10, 19, 11), 'result': '0.06011418004289322', 'result_long': None, 'result_double': None}] Qualite : 0.06011418004289322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22953062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_14-05-2025_10_19_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22953062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_14-05-2025_10_19_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22953073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953084, 'pht': 3726}}" where mtr_portfolio_id = 22953062 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22953062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573879, 0.06011418004289322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_14-05-2025_10_19_11.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22953073, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953074, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953079, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953081, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953084, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22953747 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2846996, 'mtr_portfolio_id': 22953747, 'created_at': datetime.datetime(2025, 5, 14, 10, 40, 56), 'result': '0.055294542816630626', 'result_long': None, 'result_double': None}] Qualite : 0.055294542816630626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22953747 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_14-05-2025_10_40_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22953747 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_14-05-2025_10_40_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22953765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953769, 'pht': 3726}}" where mtr_portfolio_id = 22953747 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22953747 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573880, 0.055294542816630626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953747_14-05-2025_10_40_57.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22953758, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22953759, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22953760, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22953761, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22953762, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22953763, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22953764, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22953765, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22953766, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22953767, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22953768, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22953769, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22954655 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2847163, 'mtr_portfolio_id': 22954655, 'created_at': datetime.datetime(2025, 5, 14, 10, 47), 'result': '0.07226193438076879', 'result_long': None, 'result_double': None}] Qualite : 0.07226193438076879 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22954655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_14-05-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22954655 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_14-05-2025_10_47_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22954670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22954671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22954672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22954673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22954674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22954675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22954676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22954677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22954678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22954679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22954680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22954681, 'pht': 3726}}" where mtr_portfolio_id = 22954655 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22954655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573881, 0.07226193438076879, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954655_14-05-2025_10_47_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22954670, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22954671, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22954672, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22954673, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22954674, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22954675, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22954676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22954677, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22954678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22954679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22954680, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22954681, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22954977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2847219, 'mtr_portfolio_id': 22954977, 'created_at': datetime.datetime(2025, 5, 14, 11, 2, 58), 'result': '0.06576321173162342', 'result_long': None, 'result_double': None}] Qualite : 0.06576321173162342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22954977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_14-05-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22954977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_14-05-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22955006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955017, 'pht': 3726}}" where mtr_portfolio_id = 22954977 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22954977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573882, 0.06576321173162342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22954977_14-05-2025_11_02_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22955006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955007, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955008, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955010, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955011, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955012, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955013, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955014, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955015, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955016, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955017, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22955774 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2847469, 'mtr_portfolio_id': 22955774, 'created_at': datetime.datetime(2025, 5, 14, 11, 18, 59), 'result': '0.031212310210618033', 'result_long': None, 'result_double': None}] Qualite : 0.031212310210618033 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22955774 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_14-05-2025_11_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22955774 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_14-05-2025_11_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22955838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955841, 'pht': 3726}}" where mtr_portfolio_id = 22955774 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22955774 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573883, 0.031212310210618033, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22955774_14-05-2025_11_18_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22955829, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22955830, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22955831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22955832, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22955833, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22955834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22955835, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22955836, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22955837, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22955838, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22955839, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22955841, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22956668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2847663, 'mtr_portfolio_id': 22956668, 'created_at': datetime.datetime(2025, 5, 14, 11, 33), 'result': '0.02820383460325975', 'result_long': None, 'result_double': None}] Qualite : 0.02820383460325975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22956668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_14-05-2025_11_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22956668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_14-05-2025_11_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22956707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22956708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22956709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22956710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22956711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22956712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22956713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22956714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22956715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22956716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22956717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22956718, 'pht': 3726}}" where mtr_portfolio_id = 22956668 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22956668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573884, 0.02820383460325975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22956668_14-05-2025_11_33_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22956707, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22956708, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22956709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22956710, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22956711, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22956712, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22956713, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22956714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22956715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22956716, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22956717, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22956718, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22957362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2847835, 'mtr_portfolio_id': 22957362, 'created_at': datetime.datetime(2025, 5, 14, 11, 48, 58), 'result': '0.04321604751298599', 'result_long': None, 'result_double': None}] Qualite : 0.04321604751298599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22957362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_14-05-2025_11_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22957362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_14-05-2025_11_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22957436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22957437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22957438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22957439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22957440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22957441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22957442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22957443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22957444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22957445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22957446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22957447, 'pht': 3726}}" where mtr_portfolio_id = 22957362 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22957362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573885, 0.04321604751298599, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22957362_14-05-2025_11_48_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22957436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22957437, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22957438, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22957439, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22957440, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22957441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22957442, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22957443, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22957444, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22957445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22957446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22957447, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22958312 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2847980, 'mtr_portfolio_id': 22958312, 'created_at': datetime.datetime(2025, 5, 14, 12, 2, 58), 'result': '0.03498440674512668', 'result_long': None, 'result_double': None}] Qualite : 0.03498440674512668 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22958312 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_14-05-2025_12_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22958312 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_14-05-2025_12_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958449, 'pht': 3726}}" where mtr_portfolio_id = 22958312 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22958312 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573886, 0.03498440674512668, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958312_14-05-2025_12_02_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958438, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958440, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958441, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958443, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958444, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958446, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958447, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958448, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958449, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22958946 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2848183, 'mtr_portfolio_id': 22958946, 'created_at': datetime.datetime(2025, 5, 14, 12, 18, 57), 'result': '0.04233968175502201', 'result_long': None, 'result_double': None}] Qualite : 0.04233968175502201 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22958946 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_14-05-2025_12_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22958946 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_14-05-2025_12_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958972, 'pht': 3726}}" where mtr_portfolio_id = 22958946 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22958946 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573887, 0.04233968175502201, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22958946_14-05-2025_12_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22958961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22958962, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22958963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22958964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22958965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22958966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22958967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22958968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22958969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22958970, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22958971, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22958972, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22962740 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2848761, 'mtr_portfolio_id': 22962740, 'created_at': datetime.datetime(2025, 5, 14, 14, 13, 1), 'result': '0.01893263833383947', 'result_long': None, 'result_double': None}] Qualite : 0.01893263833383947 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22962740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_14-05-2025_14_13_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22962740 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_14-05-2025_14_13_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22962744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22962745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22962746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22962747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22962748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22962749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22962750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22962751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22962752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22962753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22962754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22962755, 'pht': 3726}}" where mtr_portfolio_id = 22962740 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22962740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573888, 0.01893263833383947, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22962740_14-05-2025_14_13_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22962744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22962745, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22962746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22962747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22962748, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22962749, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22962750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22962751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22962752, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22962753, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22962754, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22962755, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22963704 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2848891, 'mtr_portfolio_id': 22963704, 'created_at': datetime.datetime(2025, 5, 14, 14, 33, 30), 'result': '0.03247397166551815', 'result_long': None, 'result_double': None}] Qualite : 0.03247397166551815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22963704 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_14-05-2025_14_33_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22963704 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_14-05-2025_14_33_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22963737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22963738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22963740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22963741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22963742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22963744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22963745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22963746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22963748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22963749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22963750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22963752, 'pht': 3726}}" where mtr_portfolio_id = 22963704 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22963704 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573889, 0.03247397166551815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22963704_14-05-2025_14_33_30.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22963737, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22963738, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22963740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22963741, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22963742, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22963744, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22963745, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22963746, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22963748, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22963749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22963750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22963752, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22964232 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2848963, 'mtr_portfolio_id': 22964232, 'created_at': datetime.datetime(2025, 5, 14, 14, 46, 59), 'result': '0.028537553343603552', 'result_long': None, 'result_double': None}] Qualite : 0.028537553343603552 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22964232 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_14-05-2025_14_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22964232 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_14-05-2025_14_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22964256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964267, 'pht': 3726}}" where mtr_portfolio_id = 22964232 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22964232 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573890, 0.028537553343603552, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964232_14-05-2025_14_47_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22964256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964258, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964259, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964260, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964261, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964262, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964267, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22964933 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2849086, 'mtr_portfolio_id': 22964933, 'created_at': datetime.datetime(2025, 5, 14, 15, 3), 'result': '0.057438827856500965', 'result_long': None, 'result_double': None}] Qualite : 0.057438827856500965 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22964933 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_14-05-2025_15_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22964933 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_14-05-2025_15_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22964949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964951, 'pht': 3726}}" where mtr_portfolio_id = 22964933 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22964933 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573891, 0.057438827856500965, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22964933_14-05-2025_15_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22964940, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22964941, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22964942, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22964943, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22964944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22964945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22964946, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22964947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22964948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22964949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22964950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22964951, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22965742 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2849228, 'mtr_portfolio_id': 22965742, 'created_at': datetime.datetime(2025, 5, 14, 15, 16, 33), 'result': '0.047059164770639546', 'result_long': None, 'result_double': None}] Qualite : 0.047059164770639546 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22965742 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_14-05-2025_15_16_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22965742 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_14-05-2025_15_16_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22965822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22965823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22965824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22965825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22965826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22965827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22965828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22965829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22965830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22965831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22965832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22965833, 'pht': 3726}}" where mtr_portfolio_id = 22965742 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22965742 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573892, 0.047059164770639546, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22965742_14-05-2025_15_16_34.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22965822, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22965823, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22965824, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22965825, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22965826, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22965827, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22965828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22965829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22965830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22965831, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22965832, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22965833, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22966668 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2849452, 'mtr_portfolio_id': 22966668, 'created_at': datetime.datetime(2025, 5, 14, 15, 33), 'result': '0.048883081812366815', 'result_long': None, 'result_double': None}] Qualite : 0.048883081812366815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22966668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_14-05-2025_15_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22966668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_14-05-2025_15_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22966676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22966677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22966678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22966679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22966680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22966681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22966682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22966683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22966684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22966685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22966686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22966687, 'pht': 3726}}" where mtr_portfolio_id = 22966668 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22966668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573893, 0.048883081812366815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22966668_14-05-2025_15_33_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22966676, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22966677, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22966678, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22966679, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22966680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22966681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22966682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22966683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22966684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22966685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22966686, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22966687, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22967453 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2849673, 'mtr_portfolio_id': 22967453, 'created_at': datetime.datetime(2025, 5, 14, 15, 48, 56), 'result': '0.04402047093623508', 'result_long': None, 'result_double': None}] Qualite : 0.04402047093623508 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22967453 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_14-05-2025_15_48_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22967453 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_14-05-2025_15_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22967521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22967522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22967523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22967524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22967525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22967526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22967527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22967528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22967529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22967530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22967531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22967532, 'pht': 3726}}" where mtr_portfolio_id = 22967453 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22967453 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573894, 0.04402047093623508, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22967453_14-05-2025_15_48_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22967521, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22967522, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22967523, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22967524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22967525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22967526, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22967527, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22967528, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22967529, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22967530, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22967531, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22967532, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22968287 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2849969, 'mtr_portfolio_id': 22968287, 'created_at': datetime.datetime(2025, 5, 14, 16, 2, 59), 'result': '0.08189097090519337', 'result_long': None, 'result_double': None}] Qualite : 0.08189097090519337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22968287 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_14-05-2025_16_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22968287 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_14-05-2025_16_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22968304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22968305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22968306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22968307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22968308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22968309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22968310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22968311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22968312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22968313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22968314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22968315, 'pht': 3726}}" where mtr_portfolio_id = 22968287 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22968287 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573895, 0.08189097090519337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22968287_14-05-2025_16_02_59.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22968304, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22968305, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22968306, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22968307, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22968308, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22968309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22968310, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22968311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22968312, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22968313, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22968314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22968315, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22969135 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 = 22969135 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 = 22969135 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22969135 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 = 22969135 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 = 22969135 order by file_id desc limit 1 select url from MTRUser.mtr_files where text like '%22969135%' order by file_id desc limit 1 find url: select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22969135 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969211, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969214, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969216, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969217, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969219, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969220, 'pht': 3726}, 'url_report': ''}" where mtr_portfolio_id = 22969135 and dashboard_run_id = 1814888 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22969729 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2850473, 'mtr_portfolio_id': 22969729, 'created_at': datetime.datetime(2025, 5, 14, 16, 32, 57), 'result': '0.05872220719424746', 'result_long': None, 'result_double': None}] Qualite : 0.05872220719424746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22969729 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_14-05-2025_16_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22969729 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_14-05-2025_16_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969759, 'pht': 3726}}" where mtr_portfolio_id = 22969729 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22969729 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573897, 0.05872220719424746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22969729_14-05-2025_16_32_58.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22969748, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22969749, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22969750, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22969751, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22969752, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22969753, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22969754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22969755, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22969756, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22969757, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22969758, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22969759, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970336 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 = 22970336 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 = 22970336 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970336 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 = 22970336 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 = 22970336 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970336_14-05-2025_16_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22970336 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970336_14-05-2025_16_46_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970375, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970376, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970377, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970378, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970379, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970382, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970383, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970384, 'pht': 3726}}" where mtr_portfolio_id = 22970336 and dashboard_run_id = 1814888 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970772 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 = 22970772 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 = 22970772 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22970772 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 = 22970772 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 = 22970772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_14-05-2025_17_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22970772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22970772_14-05-2025_17_02_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22970793, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22970794, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22970795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22970796, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22970797, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22970798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22970799, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22970800, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22970801, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22970802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22970803, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22970804, 'pht': 3726}}" where mtr_portfolio_id = 22970772 and dashboard_run_id = 1814888 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22971458 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 = 22971458 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 = 22971458 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22971458 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 = 22971458 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 = 22971458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_14-05-2025_17_18_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22971458 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971458_14-05-2025_17_18_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971475, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971477, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971479, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971481, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971482, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971484, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971486, 'pht': 3726}}" where mtr_portfolio_id = 22971458 and dashboard_run_id = 1814888 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22971781 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2851615, 'mtr_portfolio_id': 22971781, 'created_at': datetime.datetime(2025, 5, 14, 17, 34, 28), 'result': '0.026145763618794022', 'result_long': None, 'result_double': None}] Qualite : 0.026145763618794022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22971781 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_14-05-2025_17_34_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22971781 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_14-05-2025_17_34_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971801, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971810, 'pht': 3726}}" where mtr_portfolio_id = 22971781 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22971781 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573901, 0.026145763618794022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22971781_14-05-2025_17_34_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22971799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22971800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22971801, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22971802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22971803, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22971804, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22971805, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22971806, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22971807, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22971808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22971809, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22971810, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22973918 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2852315, 'mtr_portfolio_id': 22973918, 'created_at': datetime.datetime(2025, 5, 14, 18, 16, 59), 'result': '0.05333375845187493', 'result_long': None, 'result_double': None}] Qualite : 0.05333375845187493 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22973918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_14-05-2025_18_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22973918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_14-05-2025_18_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22973925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22973927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22973928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22973929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22973930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22973931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22973932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22973933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22973934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22973935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22973936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22973937, 'pht': 3726}}" where mtr_portfolio_id = 22973918 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22973918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573902, 0.05333375845187493, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22973918_14-05-2025_18_17_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22973925, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22973927, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22973928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22973929, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22973930, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22973931, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22973932, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22973933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22973934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22973935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22973936, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22973937, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22974968 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2852534, 'mtr_portfolio_id': 22974968, 'created_at': datetime.datetime(2025, 5, 14, 18, 46, 58), 'result': '0.0553507673140117', 'result_long': None, 'result_double': None}] Qualite : 0.0553507673140117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22974968 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_14-05-2025_18_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22974968 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_14-05-2025_18_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22974976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22974977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22974978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22974979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22974980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22974981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22974982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22974983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22974984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22974985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22974986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22974987, 'pht': 3726}}" where mtr_portfolio_id = 22974968 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22974968 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573903, 0.0553507673140117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22974968_14-05-2025_18_46_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22974976, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22974977, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22974978, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22974979, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22974980, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22974981, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22974982, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22974983, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22974984, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22974985, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22974986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22974987, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22975448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2852618, 'mtr_portfolio_id': 22975448, 'created_at': datetime.datetime(2025, 5, 14, 19, 4, 59), 'result': '0.05254138476567912', 'result_long': None, 'result_double': None}] Qualite : 0.05254138476567912 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22975448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_14-05-2025_19_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22975448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_14-05-2025_19_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22975455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22975456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22975457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22975458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22975459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22975460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22975461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22975462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22975463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22975464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22975465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22975466, 'pht': 3726}}" where mtr_portfolio_id = 22975448 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22975448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573904, 0.05254138476567912, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975448_14-05-2025_19_04_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22975455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22975456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22975457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22975458, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22975459, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22975460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22975461, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22975462, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22975463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22975464, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22975465, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22975466, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22975977 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2852748, 'mtr_portfolio_id': 22975977, 'created_at': datetime.datetime(2025, 5, 14, 19, 17, 28), 'result': '0.04566419850421535', 'result_long': None, 'result_double': None}] Qualite : 0.04566419850421535 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22975977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_14-05-2025_19_17_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22975977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_14-05-2025_19_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976035, 'pht': 3726}}" where mtr_portfolio_id = 22975977 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22975977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573905, 0.04566419850421535, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22975977_14-05-2025_19_17_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976024, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976025, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976026, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976027, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976030, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976031, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976032, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976033, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976034, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976035, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22976406 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2852885, 'mtr_portfolio_id': 22976406, 'created_at': datetime.datetime(2025, 5, 14, 19, 32, 59), 'result': '0.03632085811030235', 'result_long': None, 'result_double': None}] Qualite : 0.03632085811030235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22976406 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_14-05-2025_19_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22976406 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_14-05-2025_19_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22976410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976421, 'pht': 3726}}" where mtr_portfolio_id = 22976406 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22976406 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573906, 0.03632085811030235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976406_14-05-2025_19_33_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22976410, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976411, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976414, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976415, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976417, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976418, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976419, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22976420, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976421, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22976844 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2852984, 'mtr_portfolio_id': 22976844, 'created_at': datetime.datetime(2025, 5, 14, 19, 48, 58), 'result': '0.02248323142464015', 'result_long': None, 'result_double': None}] Qualite : 0.02248323142464015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22976844 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_14-05-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22976844 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_14-05-2025_19_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22976936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976948, 'pht': 3726}}" where mtr_portfolio_id = 22976844 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22976844 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573907, 0.02248323142464015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22976844_14-05-2025_19_48_59.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22976936, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22976937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22976938, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22976939, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22976940, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22976941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22976942, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22976943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22976944, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22976946, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22976947, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22976948, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22977577 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2853253, 'mtr_portfolio_id': 22977577, 'created_at': datetime.datetime(2025, 5, 14, 20, 2, 57), 'result': '0.07622712428530339', 'result_long': None, 'result_double': None}] Qualite : 0.07622712428530339 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22977577 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_14-05-2025_20_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22977577 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_14-05-2025_20_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22977625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22977626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22977627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22977628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22977630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22977631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22977632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22977633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22977634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22977636, 'pht': 3726}}" where mtr_portfolio_id = 22977577 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22977577 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573908, 0.07622712428530339, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22977577_14-05-2025_20_02_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22977625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22977626, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22977627, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22977628, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22977629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22977630, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22977631, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22977632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22977633, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22977634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22977635, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22977636, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22978253 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2853451, 'mtr_portfolio_id': 22978253, 'created_at': datetime.datetime(2025, 5, 14, 20, 16, 58), 'result': '0.01209043838154224', 'result_long': None, 'result_double': None}] Qualite : 0.01209043838154224 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22978253 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_14-05-2025_20_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22978253 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_14-05-2025_20_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22978297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22978298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22978299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22978300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22978301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22978302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22978303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22978304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22978305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22978306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22978308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22978309, 'pht': 3726}}" where mtr_portfolio_id = 22978253 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22978253 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573909, 0.01209043838154224, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22978253_14-05-2025_20_16_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22978297, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22978298, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22978299, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22978300, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22978301, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22978302, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22978303, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22978304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22978305, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22978306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22978308, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22978309, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22979051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2853616, 'mtr_portfolio_id': 22979051, 'created_at': datetime.datetime(2025, 5, 14, 20, 32, 29), 'result': '0.06284477700551484', 'result_long': None, 'result_double': None}] Qualite : 0.06284477700551484 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22979051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_14-05-2025_20_32_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22979051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_14-05-2025_20_32_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22979092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979094, 'pht': 3726}}" where mtr_portfolio_id = 22979051 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22979051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573910, 0.06284477700551484, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979051_14-05-2025_20_32_29.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979080, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979081, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979083, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979086, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979088, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979089, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22979092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22979674 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2853880, 'mtr_portfolio_id': 22979674, 'created_at': datetime.datetime(2025, 5, 14, 21, 6, 58), 'result': '0.028085207562369326', 'result_long': None, 'result_double': None}] Qualite : 0.028085207562369326 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22979674 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_14-05-2025_21_07_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22979674 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_14-05-2025_21_07_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22979688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979700, 'pht': 3726}}" where mtr_portfolio_id = 22979674 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22979674 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573911, 0.028085207562369326, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22979674_14-05-2025_21_07_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22979688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22979689, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22979690, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22979691, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22979692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22979693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22979694, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22979695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22979696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22979697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22979699, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22979700, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22980730 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2854286, 'mtr_portfolio_id': 22980730, 'created_at': datetime.datetime(2025, 5, 14, 21, 19), 'result': '0.030726953558613216', 'result_long': None, 'result_double': None}] Qualite : 0.030726953558613216 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22980730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_14-05-2025_21_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22980730 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_14-05-2025_21_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22980782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22980783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22980784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22980785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22980786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22980787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22980788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22980789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22980790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22980791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22980792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22980793, 'pht': 3726}}" where mtr_portfolio_id = 22980730 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22980730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573912, 0.030726953558613216, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22980730_14-05-2025_21_19_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22980782, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22980783, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22980784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22980785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22980786, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22980787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22980788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22980789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22980790, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22980791, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22980792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22980793, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22981091 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2854385, 'mtr_portfolio_id': 22981091, 'created_at': datetime.datetime(2025, 5, 14, 21, 32, 59), 'result': '0.02959208015930433', 'result_long': None, 'result_double': None}] Qualite : 0.02959208015930433 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22981091 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_14-05-2025_21_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22981091 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_14-05-2025_21_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981118, 'pht': 3726}}" where mtr_portfolio_id = 22981091 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22981091 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573913, 0.02959208015930433, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981091_14-05-2025_21_32_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981106, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981107, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981108, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981109, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981110, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981111, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981112, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981114, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981115, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981116, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981118, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22981409 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2854498, 'mtr_portfolio_id': 22981409, 'created_at': datetime.datetime(2025, 5, 14, 21, 50, 56), 'result': '0.03239026893266957', 'result_long': None, 'result_double': None}] Qualite : 0.03239026893266957 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22981409 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_14-05-2025_21_50_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22981409 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_14-05-2025_21_50_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981446, 'pht': 3726}}" where mtr_portfolio_id = 22981409 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22981409 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573914, 0.03239026893266957, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22981409_14-05-2025_21_50_56.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22981433, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22981435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22981436, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22981437, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22981438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22981439, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22981440, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22981442, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22981443, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22981444, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22981445, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22981446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22982000 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2854610, 'mtr_portfolio_id': 22982000, 'created_at': datetime.datetime(2025, 5, 14, 22, 3, 30), 'result': '0.05360566505039001', 'result_long': None, 'result_double': None}] Qualite : 0.05360566505039001 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22982000 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_14-05-2025_22_03_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22982000 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_14-05-2025_22_03_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982056, 'pht': 3726}}" where mtr_portfolio_id = 22982000 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22982000 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573915, 0.05360566505039001, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982000_14-05-2025_22_03_30.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982046, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982048, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982051, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982052, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22982544 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2854829, 'mtr_portfolio_id': 22982544, 'created_at': datetime.datetime(2025, 5, 14, 22, 17), 'result': '0.0773658440994105', 'result_long': None, 'result_double': None}] Qualite : 0.0773658440994105 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22982544 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_14-05-2025_22_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22982544 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_14-05-2025_22_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982580, 'pht': 3726}}" where mtr_portfolio_id = 22982544 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22982544 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573916, 0.0773658440994105, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22982544_14-05-2025_22_17_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22982568, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22982569, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22982571, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22982572, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22982573, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22982574, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22982575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22982576, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22982577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22982578, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22982579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22982580, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22983615 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2855052, 'mtr_portfolio_id': 22983615, 'created_at': datetime.datetime(2025, 5, 14, 22, 30, 58), 'result': '0.07954666493013751', 'result_long': None, 'result_double': None}] Qualite : 0.07954666493013751 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22983615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_14-05-2025_22_30_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22983615 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_14-05-2025_22_30_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22983628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22983629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22983630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22983631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22983632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22983633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22983634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22983635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22983636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22983637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22983638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22983639, 'pht': 3726}}" where mtr_portfolio_id = 22983615 and dashboard_run_id = 1814888 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22983615 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10573917, 0.07954666493013751, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22983615_14-05-2025_22_30_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22983628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22983629, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22983630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22983631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22983632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22983633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22983634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22983635, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22983636, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22983637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22983638, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22983639, '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 (22945509,22945880,22945987,22946016,22946286,22946489,22946811,22947229,22947610,22947885,22948351,22948827,22949170,22949616,22950052,22950465,22950919,22952363,22952585,22953062,22953747,22954655,22954977,22955774,22956668,22957362,22958312,22958946,22962740,22963704,22964232,22964933,22965742,22966668,22967453,22968287,22969135,22969729,22970336,22970772,22971458,22971781,22973918,22974968,22975448,22975977,22976406,22976844,22977577,22978253,22979051,22979674,22980730,22981091,22981409,22982000,22982544,22983615) result : ((1358087078,), (1358087106,), (1358088095,), (1358088463,), (1358088467,), (1358088468,), (1358088775,), (1358089999,), (1358092462,), (1358092490,), (1358092514,), (1358092544,), (1358092547,), (1358092549,), (1358092598,), (1358092626,), (1358092671,), (1358092674,), (1358092713,), (1358092715,), (1358092737,), (1358092821,), (1358092980,), (1358093097,), (1358093098,), (1358093099,), (1358093124,), (1358093127,), (1358093133,), (1358093134,), (1358093156,), (1358093159,), (1358093162,), (1358093164,), (1358093181,), (1358093183,), (1358093185,), (1358093208,), (1358093240,), (1358093243,), (1358093246,), (1358093254,), (1358093315,), (1358093312,), (1358093342,), (1358093343,), (1358093366,), (1358093368,), (1358093369,), (1358093370,), (1358093371,), (1358093373,), (1358093396,), (1358093398,), (1358093399,), (1358093400,), (1358093401,), (1358093403,), (1358093427,), (1358093430,), (1358093432,), (1358093433,), (1358093436,), (1358093456,), (1358093458,), (1358093459,), (1358093460,), (1358093461,), (1358093463,), (1358093480,), (1358093482,), (1358093485,), (1358093493,), (1358093495,), (1358093497,), (1358093517,), (1358093520,), (1358093528,), (1358093546,), (1358093550,), (1358093552,), (1358093554,), (1358093557,), (1358093575,), (1358093579,), (1358093581,), (1358093583,), (1358093584,), (1358093587,), (1358093605,), (1358093613,), (1358093615,), (1358093634,), (1358093637,), (1358093639,), (1358093641,), (1358093644,), (1358093646,), (1358093667,), (1358093669,), (1358093670,), (1358093671,), (1358093685,), (1358093687,), (1358093690,), (1358093692,), (1358093694,), (1358093696,), (1358093725,), (1358093710,), (1358093716,), (1358093720,), (1358093721,), (1358093723,), (1358093745,), (1358093748,), (1358093750,), (1358093752,), (1358093766,), (1358093767,), (1358093770,), (1358093775,), (1358093778,), (1358093780,), (1358093803,), (1358093806,), (1358093809,), (1358093812,), (1358093841,), (1358093843,), (1358093845,), (1358093848,), (1358093850,), (1358093854,), (1358093872,), (1358093875,), (1358093877,), (1358093879,), (1358093887,), (1358093893,), (1358093919,), (1358093921,), (1358093924,), (1358093925,), (1358093951,), (1358093955,), (1358093957,), (1358093959,), (1358093962,), (1358093964,), (1358093987,), (1358093989,), (1358093991,), (1358093992,), (1358094017,), (1358094020,), (1358094022,), (1358094023,), (1358094054,), (1358094067,), (1358094070,), (1358094072,), (1358094074,), (1358094076,), (1358094095,), (1358094097,), (1358094098,), (1358094099,), (1358094118,), (1358094123,), (1358094126,), (1358094127,), (1358094128,), (1358094129,), (1358094166,), (1358094170,), (1358094175,), (1358094179,), (1358094183,), (1358094222,), (1358094214,), (1358094216,), (1358094218,), (1358094220,), (1358094244,), (1358094247,), (1358094249,), (1358094250,), (1358094252,), (1358094255,), (1358094277,), (1358094283,), (1358094285,), (1358094371,), (1358094381,), (1358094383,), (1358094386,), (1358094407,), (1358094411,), (1358094414,), (1358094418,), (1358094420,), (1358094433,), (1358094439,), (1358094470,), (1358094475,), (1358094479,), (1358094480,), (1358094509,), (1358094512,), (1358094514,), (1358094517,), (1358094520,), (1358094522,), (1358094544,), (1358094547,), (1358094548,), (1358094549,), (1358094550,), (1358094552,), (1358094578,), (1358094581,), (1358094584,), (1358094619,), (1358094622,), (1358094624,), (1358094626,), (1358094629,), (1358094652,), (1358094655,), (1358094657,), (1358094659,), (1358094662,), (1358094682,), (1358094685,), (1358094686,), (1358094689,), (1358094728,), (1358094716,), (1358094718,), (1358094720,), (1358094722,), (1358094725,), (1358094747,), (1358094749,), (1358094752,), (1358094760,), (1358094794,), (1358094796,), (1358094798,), (1358094800,), (1358094803,), (1358094823,), (1358094826,), (1358094828,), (1358094830,), (1358094833,), (1358094836,), (1358094858,), (1358094861,), (1358094863,), (1358094933,), (1358094937,), (1358094939,), (1358094941,), (1358094943,), (1358094979,), (1358094983,), (1358094986,), (1358094989,), (1358095017,), (1358095020,), (1358095021,), (1358095022,), (1358095050,), (1358095055,), (1358095058,), (1358095061,), (1358095065,), (1358095089,), (1358095091,), (1358095092,), (1358095093,), (1358095096,), (1358095117,), (1358095129,), (1358095131,), (1358095134,), (1358095153,), (1358095155,), (1358095157,), (1358095160,), (1358095164,), (1358095200,), (1358095207,), (1358095209,), (1358095211,), (1358095239,), (1358095243,), (1358095245,), (1358095247,), (1358095249,), (1358095253,), (1358095276,), (1358095272,), (1358095274,), (1358095303,), (1358095310,), (1358095318,), (1358095321,), (1358095323,), (1358095327,), (1358095352,), (1358095354,), (1358095357,), (1358095360,), (1358095363,), (1358095390,), (1358095394,), (1358095445,), (1358095466,), (1358095505,), (1358095508,), (1358095509,), (1358095510,), (1358095544,), (1358095551,), (1358095556,), (1358095558,), (1358095562,), (1358095593,), (1358095595,), (1358095596,), (1358095597,), (1358095628,), (1358095632,), (1358095635,), (1358095638,), (1358095641,), (1358095646,), (1358095669,), (1358095672,), (1358095673,), (1358095674,), (1358095677,), (1358095679,), (1358095708,), (1358095715,), (1358095719,), (1358095757,), (1358095760,), (1358095762,), (1358095764,), (1358095793,), (1358095797,), (1358095801,), (1358095804,), (1358095807,), (1358095838,), (1358095841,), (1358095842,), (1358095845,), (1358095894,), (1358095877,), (1358095881,), (1358095884,), (1358095887,), (1358095891,), (1358095931,), (1358095934,), (1358095937,), (1358095942,), (1358095945,), (1358095963,), (1358095974,), (1358095978,), (1358095981,), (1358095983,), (1358096014,), (1358096016,), (1358096017,), (1358096018,), (1358096020,), (1358096050,), (1358096053,), (1358096055,), (1358096085,), (1358096087,), (1358096122,), (1358096126,), (1358096129,), (1358096132,), (1358096135,), (1358096169,), (1358096172,), (1358096174,), (1358096176,), (1358096179,), (1358096183,), (1358096220,), (1358096222,), (1358096223,), (1358096224,), (1358096254,), (1358096257,), (1358096259,), (1358096261,), (1358096264,), (1358096267,), (1358096300,), (1358096302,), (1358096303,), (1358096304,), (1358096339,), (1358096349,), (1358096351,), (1358096353,), (1358096356,), (1358096376,), (1358096378,), (1358096380,), (1358096383,), (1358096386,), (1358096389,), (1358096417,), (1358096422,), (1358096427,), (1358096487,), (1358096470,), (1358096476,), (1358096479,), (1358096483,), (1358096513,), (1358096517,), (1358096521,), (1358096554,), (1358096557,), (1358096559,), (1358096562,), (1358096565,), (1358096588,), (1358096601,), (1358096603,), (1358096607,), (1358096610,), (1358096613,), (1358096639,), (1358096643,), (1358096645,), (1358096675,), (1358096679,), (1358096683,), (1358096687,), (1358096690,), (1358096693,), (1358096717,), (1358096720,), (1358096723,), (1358096748,), (1358096751,), (1358096758,), (1358096762,), (1358096791,), (1358096794,), (1358096796,), (1358096799,), (1358096802,), (1358096807,), (1358096840,), (1358096845,), (1358096848,), (1358096851,), (1358096891,), (1358096893,), (1358096896,), (1358096900,), (1358096902,), (1358096942,), (1358096946,), (1358096949,), (1358096952,), (1358096957,), (1358096983,), (1358096987,), (1358096991,), (1358096994,), (1358096998,), (1358097026,), (1358097030,), (1358097034,), (1358097037,), (1358097073,), (1358097078,), (1358097081,), (1358097128,), (1358097118,), (1358097124,), (1358097159,), (1358097164,), (1358097168,), (1358097171,), (1358097196,), (1358097200,), (1358097204,), (1358097207,), (1358097210,), (1358097239,), (1358097242,), (1358097245,), (1358097248,), (1358097253,), (1358097257,), (1358097284,), (1358097288,), (1358097292,), (1358097326,), (1358097330,), (1358097333,), (1358097337,), (1358097341,), (1358097344,), (1358097366,), (1358097378,), (1358097381,), (1358097385,), (1358097422,), (1358097425,), (1358097427,), (1358097430,), (1358097458,), (1358097465,), (1358097469,), (1358097473,), (1358097477,), (1358097479,), (1358097529,), (1358097555,), (1358097560,), (1358097659,), (1358097663,), (1358097665,), (1358097667,), (1358097671,), (1358097696,), (1358097700,), (1358097704,), (1358097708,), (1358097711,), (1358097714,), (1358097739,), (1358097749,), (1358097755,), (1358097768,), (1358097772,), (1358097831,), (1358097837,), (1358097855,), (1358097859,), (1358097864,), (1358098164,), (1358098169,), (1358098172,), (1358098174,), (1358098203,), (1358098229,), (1358098734,), (1358098583,), (1358098676,), (1358098728,), (1358098732,), (1358098837,), (1358098841,), (1358098843,), (1358098845,), (1358098891,), (1358098915,), (1358098921,), (1358098927,), (1358098930,), (1358098962,), (1358098968,), (1358098971,), (1358098974,), (1358098976,), (1358098980,), (1358099008,), (1358099011,), (1358099015,), (1358099018,), (1358099054,), (1358099059,), (1358099062,), (1358099064,), (1358099066,), (1358099070,), (1358099097,), (1358099101,), (1358099105,), (1358099132,), (1358099135,), (1358099138,), (1358099141,), (1358099145,), (1358099177,), (1358099180,), (1358099184,), (1358099188,), (1358099192,), (1358099195,), (1358099238,), (1358099248,), (1358099250,), (1358099254,), (1358099290,), (1358099295,), (1358099298,), (1358099303,), (1358099307,), (1358099344,), (1358099348,), (1358099354,), (1358099357,), (1358099362,), (1358099404,), (1358099408,), (1358099412,), (1358099416,), (1358099499,), (1358099531,), (1358099558,), (1358099585,), (1358099619,), (1358099646,), (1358099664,), (1358099667,), (1358099672,), (1358099676,), (1358099726,), (1358099706,), (1358099711,), (1358099715,), (1358099719,), (1358099722,), (1358099748,), (1358099751,), (1358099754,), (1358099778,), (1358099781,), (1358099785,), (1358099789,), (1358099796,), (1358099807,), (1358099827,), (1358099839,), (1358099842,), (1358099846,), (1358099849,), (1358099853,), (1358099877,), (1358099882,), (1358099885,), (1358099888,), (1358099951,), (1358099960,), (1358099969,), (1358099974,), (1358100000,), (1358100005,), (1358100009,), (1358100012,), (1358100016,), (1358100020,), (1358100021,), (1358100023,), (1358100024,), (1358100032,), (1358100033,), (1358100043,), (1358100044,), (1358100047,), (1358100048,), (1358100061,), (1358100065,), (1358100068,), (1358100102,), (1358100107,), (1358100110,), (1358100113,), (1358100138,), (1358100141,), (1358100144,), (1358100147,), (1358100150,), (1358100152,), (1358100182,), (1358100185,), (1358100189,), (1358100225,), (1358100231,), (1358100234,), (1358100261,), (1358100263,), (1358100268,), (1358100281,), (1358100284,), (1358100288,), (1358100290,), (1358100293,), (1358100340,), (1358100345,), (1358100352,), (1358100357,), (1358100382,), (1358100385,), (1358100387,), (1358100392,), (1358100412,), (1358100416,), (1358100378,), (1358100380,), (1358100423,), (1358100426,), (1358100431,), (1358100438,), (1358100463,), (1358100466,), (1358100471,), (1358100475,), (1358100479,), (1358100482,), (1358100500,), (1358100503,), (1358100507,), (1358100512,), (1358100516,), (1358100519,), (1358100536,), (1358100539,), (1358100542,), (1358100545,), (1358100566,), (1358100569,), (1358100572,), (1358100575,), (1358100578,), (1358100580,), (1358100598,), (1358100602,), (1358100605,), (1358100608,), (1358100612,), (1358100616,), (1358100632,), (1358100634,), (1358100637,), (1358100640,), (1358100666,), (1358100671,), (1358100675,), (1358100683,), (1358100685,), (1358100703,), (1358100706,), (1358100710,), (1358100712,), (1358100715,), (1358100759,), (1358100762,), (1358100765,), (1358100807,), (1358100810,), (1358100813,), (1358100816,), (1358100818,), (1358100878,), (1358100881,), (1358100903,), (1358100933,), (1358100949,), (1358100958,), (1358100994,), (1358100997,), (1358101000,), (1358101107,), (1358101135,), (1358101161,), (1358101186,), (1358101233,), (1358101243,), (1358101403,), (1358101325,), (1358101350,), (1358101377,), (1358101388,), (1358101399,), (1358101482,), (1358101485,), (1358101488,), (1358101609,), (1358101611,), (1358101614,), (1358101620,), (1358101623,), (1358101627,), (1358101645,), (1358101651,), (1358101670,), (1358101690,), (1358101701,), (1358101749,), (1358101753,), (1358101757,), (1358101965,), (1358101968,), (1358102011,), (1358102659,), (1358102667,), (1358102676,), (1358102731,), (1358102763,), (1358102765,), (1358102768,), (1358102771,), (1358102790,), (1358102792,), (1358102794,), (1358102809,), (1358102810,), (1358102859,), (1358102887,), (1358102889,), (1358102892,), (1358102936,), (1358102926,), (1358102929,), (1358102931,), (1358102932,), (1358102934,), (1358102963,), (1358102964,), (1358102966,), (1358102970,), (1358102973,), (1358103004,), (1358103006,), (1358103033,), (1358103035,), (1358103038,), (1358103057,), (1358103071,), (1358103078,), (1358103081,), (1358103083,), (1358103100,), (1358103103,), (1358103106,), (1358103107,), (1358103108,), (1358103127,), (1358103131,), (1358103134,), (1358103136,), (1358103137,), (1358103154,), (1358103155,), (1358103157,), (1358103178,), (1358103181,), (1358103183,), (1358103188,), (1358103194,), (1358103195,), (1358103219,), (1358103222,), (1358103224,), (1358103225,), (1358103256,), (1358103258,), (1358103292,), (1358103300,), (1358103303,), (1358103314,), (1358103317,), (1358103319,), (1358103356,), (1358103358,), (1358103360,), (1358103362,), (1358103363,), (1358103386,), (1358103390,), (1358103392,), (1358103396,), (1358103421,), (1358103423,), (1358103426,), (1358103428,), (1358103431,), (1358103535,), (1358103483,), (1358103509,), (1358104934,), (1358105497,), (1358106222,), (1358106255,), (1358106259,), (1358106263,), (1358106267,), (1358106301,), (1358106304,), (1358106307,), (1358106311,), (1358106492,), (1358106495,), (1358106498,), (1358106501,), (1358106505,), (1358106857,), (1358106885,), (1358106934,), (1358106982,), (1358107013,), (1358107041,), (1358107425,), (1358112171,), (1358112175,), (1358112179,), (1358112182,), (1358112208,), (1358112210,), (1358112212,), (1358112215,), (1358112217,), (1358112222,), (1358112246,), (1358112250,), (1358112286,), (1358112290,), (1358112293,), (1358112296,), (1358112298,), (1358112300,), (1358112324,), (1358112326,), (1358112329,), (1358112332,), (1358112335,), (1358112344,), (1358112396,), (1358112400,), (1358112404,), (1358112447,), (1358112450,), (1358112453,), (1358112456,), (1358112493,), (1358112497,), (1358112501,), (1358112508,), (1358112516,), (1358112551,), (1358112555,), (1358112825,), (1358112787,), (1358112822,), (1358112870,), (1358112878,), (1358112883,), (1358112885,), (1358112888,), (1358112920,), (1358112923,), (1358112962,), (1358112965,), (1358112968,), (1358113009,), (1358113012,), (1358113015,), (1358113018,), (1358113055,), (1358113057,), (1358113059,), (1358113084,), (1358113087,), (1358113090,), (1358113092,), (1358113095,), (1358113136,), (1358113139,), (1358113142,), (1358113178,), (1358113181,), (1358113204,), (1358113231,), (1358113260,), (1358113286,), (1358113429,), (1358113431,), (1358113463,), (1358113501,), (1358113527,), (1358114565,), (1358114617,), (1358115736,), (1358115602,), (1358115647,), (1358115677,), (1358115707,), (1358115938,), (1358115948,), (1358115951,), (1358115976,), (1358116005,), (1358116032,), (1358116390,), (1358116463,), (1358117961,), (1358118689,), (1358118693,), (1358118705,), (1358118736,), (1358118788,), (1358119180,), (1358120295,), (1358120471,), (1358120512,), (1358120516,), (1358120521,), (1358120551,), (1358120585,), (1358120820,), (1358120846,), (1358121050,), (1358121054,), (1358121058,), (1358121067,), (1358121097,), (1358121332,), (1358121335,), (1358121339,), (1358121342,), (1358121346,), (1358121453,), (1358122047,), (1358121714,), (1358121797,), (1358121857,), (1358121956,), (1358122641,), (1358122674,), (1358122705,), (1358122731,), (1358122759,), (1358123299,), (1358123366,), (1358123434,), (1358123486,), (1358123520,), (1358123650,), (1358123672,), (1358123697,), (1358124046,), (1358124098,), (1358124173,), (1358124235,), (1358124305,), (1358124908,), (1358124960,), (1358125014,), (1358125061,), (1358125075,), (1358125092,), (1358125317,), (1358125320,), (1358125324,), (1358126021,), (1358126117,), (1358126179,), (1358126229,), (1358126891,), (1358126966,), (1358127041,), (1358127099,), (1358127147,), (1358127204,), (1358127525,), (1358127623,), (1358127662,), (1358127942,), (1358127990,), (1358128018,), (1358128074,), (1358128100,), (1358128129,), (1358128654,), (1358128709,), (1358128759,), (1358128797,), (1358128838,), (1358128883,), (1358129198,), (1358129227,), (1358129685,), (1358129761,), (1358129807,), (1358129833,), (1358129859,), (1358130104,), (1358130132,), (1358130159,), (1358130183,), (1358130212,), (1358130415,), (1358130403,), (1358130410,), (1358130739,), (1358130768,), (1358130774,), (1358130786,), (1358130795,), (1358131153,), (1358131157,), (1358131160,), (1358131163,), (1358131188,), (1358131358,), (1358131381,), (1358131410,), (1358131439,), (1358131461,), (1358131571,), (1358131579,), (1358131607,), (1358131720,), (1358131723,), (1358131726,), (1358131729,), (1358131733,), (1358131736,), (1358131768,), (1358131774,), (1358131777,), (1358131780,), (1358131785,), (1358132019,), (1358132022,), (1358132024,), (1358132028,), (1358132386,), (1358132389,), (1358132392,), (1358132395,), (1358132408,), (1358132434,), (1358132715,), (1358132720,), (1358132725,), (1358132889,), (1358132894,), (1358132898,), (1358132915,), (1358132919,), (1358133027,), (1358133035,), (1358133065,), (1358133092,), (1358133106,), (1358133118,), (1358133186,), (1358133192,), (1358133196,), (1358133443,), (1358133485,), (1358133536,), (1358133589,), (1358133643,), (1358133929,), (1358133935,), (1358133965,), (1358133992,), (1358134002,), (1358134005,), (1358134255,), (1358134203,), (1358134229,), (1358134466,), (1358134492,), (1358134502,), (1358134512,), (1358134852,), (1358134877,), (1358134905,), (1358134930,), (1358134957,), (1358134985,), (1358135103,), (1358135127,), (1358135154,), (1358135181,), (1358135331,), (1358135365,), (1358135407,), (1358135435,), (1358135467,), (1358135651,), (1358135653,), (1358135667,), (1358135697,), (1358135804,), (1358135843,), (1358135872,), (1358135874,), (1358136094,), (1358136131,), (1358136154,), (1358136164,), (1358136172,), (1358136193,), (1358136244,), (1358136248,), (1358136251,), (1358136253,), (1358136255,), (1358136264,), (1358136278,), (1358136286,), (1358136359,), (1358136387,), (1358136411,), (1358136435,), (1358136443,), (1358136447,), (1358136682,), (1358136739,), (1358136754,), (1358136759,), (1358136769,), (1358136806,), (1358137552,), (1358137624,), (1358137710,), (1358137761,), (1358137764,), (1358138328,), (1358138415,), (1358138510,), (1358138560,), (1358138579,), (1358138832,), (1358138648,), (1358138660,), (1358138687,), (1358138759,), (1358139111,), (1358139114,), (1358139152,), (1358139197,), (1358139228,), (1358139472,), (1358139485,), (1358139488,), (1358139496,), (1358139524,), (1358139576,), (1358139580,), (1358139582,), (1358139584,), (1358139587,), (1358139591,), (1358139688,), (1358139712,), (1358139733,), (1358139747,), (1358139756,), (1358139822,), (1358139826,), (1358139829,), (1358139946,), (1358139979,), (1358139999,), (1358140065,), (1358140143,), (1358140434,), (1358140437,), (1358140505,), (1358140509,), (1358140511,), (1358140514,), (1358140711,), (1358140738,), (1358140749,), (1358140753,), (1358140756,), (1358140906,), (1358140909,), (1358140911,), (1358140913,), (1358140914,), (1358141130,), (1358141157,), (1358141174,), (1358141181,), (1358141427,), (1358141431,), (1358141433,), (1358141434,), (1358141439,), (1358141465,), (1358141545,), (1358141548,), (1358141551,), (1358141554,), (1358142139,), (1358142170,), (1358142199,), (1358142228,), (1358142253,), (1358142283,), (1358142370,), (1358142372,), (1358142389,), (1358142419,), (1358142446,), (1358142474,), (1358142667,), (1358142657,), (1358142660,), (1358142663,), (1358142665,), (1358142865,), (1358142868,), (1358142869,), (1358142870,), (1358142871,), (1358142976,), (1358143003,), (1358143027,), (1358143060,), (1358143110,), (1358143545,), (1358143571,), (1358143603,), (1358143675,), (1358143755,), (1358144442,), (1358144496,), (1358144552,), (1358144624,), (1358144700,), (1358144749,), (1358145051,), (1358145160,), (1358145258,), (1358145365,), (1358145455,), (1358146027,), (1358146080,), (1358146151,), (1358146218,), (1358146289,), (1358147241,), (1358147294,), (1358147330,), (1358147375,), (1358147399,), (1358147502,), (1358147982,), (1358148008,), (1358148057,), (1358148104,), (1358148775,), (1358148841,), (1358148911,), (1358148998,), (1358149073,), (1358149155,), (1358149658,), (1358149706,), (1358149739,), (1358149763,), (1358150214,), (1358150249,), (1358150317,), (1358150386,), (1358150485,), (1358150581,), (1358150990,), (1358151057,), (1358151126,), (1358151186,), (1358151566,), (1358151581,), (1358151607,), (1358151633,), (1358151668,), (1358151718,), (1358151923,), (1358151925,), (1358151928,), (1358152253,), (1358151981,), (1358152028,), (1358152103,), (1358152176,), (1358152806,), (1358152808,), (1358152810,), (1358152812,), (1358153318,), (1358153377,), (1358153434,), (1358153486,), (1358153542,), (1358153618,), (1358153979,), (1358154024,), (1358154074,), (1358154131,), (1358154222,), (1358155013,), (1358155035,), (1358155060,), (1358155085,), (1358155109,), (1358155585,), (1358155634,), (1358155681,), (1358155706,), (1358155732,), (1358155767,), (1358155926,), (1358155929,), (1358155932,), (1358155935,), (1358156383,), (1358156418,), (1358156480,), (1358156540,), (1358156592,), (1358156641,), (1358156995,), (1358157028,), (1358157052,), (1358157092,), (1358157119,), (1358157146,), (1358157609,), (1358157633,), (1358157654,), (1358157990,), (1358158035,), (1358158088,), (1358158139,), (1358158189,), (1358158252,), (1358158585,), (1358158624,), (1358158682,), (1358158722,), (1358158747,), (1358158781,), (1358158806,), (1358158832,), (1358158856,), (1358159060,), (1358159062,), (1358159064,), (1358159066,), (1358159067,), (1358159086,), (1358159434,), (1358159447,), (1358159521,), (1358159889,), (1358159837,), (1358159863,), (1358159881,), (1358159884,), (1358159886,), (1358160287,), (1358160327,), (1358160362,), (1358160390,), (1358160419,), (1358160488,), (1358160489,), (1358160491,), (1358160493,), (1358160494,), (1358160498,), (1358160534,), (1358160537,), (1358160540,), (1358160543,), (1358160630,), (1358160633,), (1358160636,), (1358160639,), (1358160641,), (1358160645,), (1358160683,), (1358160687,), (1358160691,), (1358160695,), (1358160698,), (1358160724,), (1358160729,), (1358160733,), (1358160736,), (1358160741,), (1358160744,), (1358160768,), (1358160774,), (1358160779,), (1358160783,), (1358160817,), (1358160820,), (1358160823,), (1358160826,), (1358160828,), (1358160832,), (1358160866,), (1358160869,), (1358160875,), (1358161139,), (1358161196,), (1358161227,), (1358161257,), (1358161286,), (1358161314,), (1358161520,), (1358161621,), (1358161649,), (1358161678,), (1358161708,), (1358161848,), (1358161874,), (1358161900,), (1358161929,), (1358161955,), (1358162828,), (1358162907,), (1358162992,), (1358163067,), (1358163126,), (1358163182,), (1358163958,), (1358163794,), (1358163826,), (1358163857,), (1358163900,), (1358164259,), (1358164355,), (1358164458,), (1358164556,), (1358165236,), (1358165254,), (1358165268,), (1358165271,), (1358165273,), (1358165276,), (1358165543,), (1358165570,), (1358165617,), (1358165667,), (1358166116,), (1358166125,), (1358166151,), (1358166178,), (1358166182,), (1358166186,), (1358166518,), (1358166531,), (1358166535,), (1358166539,), (1358166918,), (1358166958,), (1358167007,), (1358167074,), (1358167126,), (1358167178,), (1358167303,), (1358167307,), (1358167316,), (1358167331,), (1358167333,), (1358167579,), (1358167583,), (1358167587,), (1358167591,), (1358167604,), (1358167755,), (1358167784,), (1358167791,), (1358167796,), (1358167800,), (1358167930,), (1358167953,), (1358167957,), (1358167961,), (1358168263,), (1358169478,), (1358200905,), (1358200950,), (1358200982,), (1358201030,), (1358201615,), (1358201655,), (1358201669,), (1358201720,), (1358202005,), (1358202611,), (1358202655,), (1358202725,), (1358203202,), (1358203214,), (1358203220,), (1358212799,), (1358213094,), (1358213098,), (1358213101,), (1358213103,), (1358213446,), (1358213475,), (1358213509,), (1358213662,), (1358213690,), (1358213719,), (1358213750,), (1358213779,), (1358214185,), (1358214281,), (1358215139,), (1358215181,), (1358215236,), (1358215326,), (1358215426,), (1358215520,), (1358216063,), (1358216091,), (1358216144,), (1358216638,), (1358216665,), (1358216722,), (1358216745,), (1358217112,), (1358217146,), (1358217173,), (1358217327,), (1358217355,), (1358217385,), (1358217414,), (1358217448,), (1358217475,), (1358217661,), (1358217668,), (1358217685,), (1358217697,), (1358217717,), (1358217720,), (1358217861,), (1358217890,), (1358217932,), (1358217946,), (1358218175,), (1358218180,), (1358218181,), (1358218187,), (1358218191,), (1358218315,), (1358218335,), (1358218338,), (1358218341,), (1358218353,), (1358218423,), (1358218427,), (1358218433,), (1358218582,), (1358218564,), (1358218568,), (1358218573,), (1358218577,), (1358218673,), (1358218706,), (1358218735,), (1358218764,), (1358218979,), (1358219008,), (1358219035,), (1358219061,), (1358219278,), (1358219297,), (1358219454,), (1358219459,), (1358219463,), (1358219466,), (1358219794,), (1358219804,), (1358219841,), (1358219873,), (1358219922,), (1358220036,), (1358220041,), (1358220046,), (1358220051,), (1358220272,), (1358220349,), (1358220426,), (1358220471,), (1358220480,), (1358220680,), (1358220710,), (1358220742,), (1358220772,), (1358221043,), (1358221066,), (1358221119,), (1358221166,), (1358221606,), (1358221638,), (1358221670,), (1358221725,), (1358221763,), (1358221985,), (1358222188,), (1358222192,), (1358222197,), (1358222201,), (1358222205,), (1358222211,), (1358222245,), (1358222250,), (1358222277,), (1358222309,), (1358222340,), (1358222596,), (1358222600,), (1358222605,), (1358222610,), (1358222687,), (1358222670,), (1358222674,), (1358222680,), (1358222684,), (1358222909,), (1358222952,), (1358222976,), (1358222982,), (1358223004,), (1358223016,), (1358223388,), (1358223468,), (1358223488,), (1358223491,), (1358223634,), (1358223638,), (1358223641,), (1358223645,), (1358223648,), (1358223693,), (1358223707,), (1358223762,), (1358223808,), (1358223832,), (1358223863,), (1358224075,), (1358224099,), (1358224111,), (1358224113,), (1358224446,), (1358224450,), (1358224498,), (1358224518,), (1358224543,), (1358224562,), (1358224637,), (1358224641,), (1358224644,), (1358224648,), (1358224652,), (1358224807,), (1358224834,), (1358224863,), (1358224889,), (1358225061,), (1358225086,), (1358225113,), (1358225140,), (1358225278,), (1358225302,), (1358225331,), (1358225357,), (1358225382,), (1358225558,), (1358225645,), (1358225671,), (1358225679,), (1358225721,), (1358227170,), (1358227247,), (1358227362,), (1358227404,), (1358227493,), (1358227496,), (1358227532,), (1358227538,), (1358227541,), (1358227543,), (1358227585,), (1358227573,), (1358227576,), (1358227581,), (1358227837,), (1358227866,), (1358227899,), (1358227969,), (1358228273,), (1358228280,), (1358228284,), (1358228288,), (1358228291,), (1358228398,), (1358228426,), (1358228453,), (1358228479,), (1358228506,), (1358228833,), (1358228870,), (1358228909,), (1358228938,), (1358228955,), (1358229109,), (1358229115,), (1358229120,), (1358229178,), (1358229236,), (1358229265,), (1358229772,), (1358229778,), (1358229783,), (1358229786,), (1358229934,), (1358229936,), (1358229939,), (1358229941,), (1358229943,), (1358229948,), (1358229983,), (1358229987,), (1358229991,), (1358229995,), (1358229999,), (1358230007,), (1358230070,), (1358230073,), (1358230076,), (1358230487,), (1358230549,), (1358230599,), (1358230650,), (1358230706,), (1358230764,), (1358231313,), (1358231405,), (1358231483,), (1358231537,), (1358231606,), (1358232138,), (1358232205,), (1358232262,), (1358232319,), (1358232862,), (1358232895,), (1358232962,), (1358233016,), (1358233094,), (1358233529,), (1358233558,), (1358233582,), (1358233588,), (1358233940,), (1358234271,), (1358234299,), (1358234462,), (1358234467,), (1358234471,), (1358234473,), (1358234478,), (1358234483,), (1358234514,), (1358234519,), (1358234522,), (1358234525,), (1358234683,), (1358234713,), (1358234740,), (1358234791,), (1358235293,), (1358235323,), (1358235370,), (1358235413,), (1358235446,), (1358235479,), (1358235552,), (1358235584,), (1358235619,), (1358235674,), (1358236141,), (1358236167,), (1358236197,), (1358236242,), (1358236288,), (1358236349,), (1358236358,), (1358236367,), (1358236396,), (1358236423,), (1358236778,), (1358236807,), (1358236825,), (1358236947,), (1358236966,), (1358236970,), (1358236977,), (1358237007,), (1358237024,), (1358237121,), (1358237129,), (1358237132,), (1358237136,), (1358237170,), (1358237174,), (1358237328,), (1358237338,), (1358237346,), (1358237426,), (1358237455,), (1358237483,), (1358237522,), (1358238003,), (1358237842,), (1358237873,), (1358237905,), (1358237938,), (1358237973,), (1358238231,), (1358238263,), (1358238293,), (1358238320,), (1358239056,), (1358239095,), (1358239125,), (1358239167,), (1358239231,), (1358239573,), (1358239577,), (1358239580,), (1358239601,), (1358239700,), (1358240162,), (1358240165,), (1358240170,), (1358240200,), (1358240349,), (1358240353,), (1358240357,), (1358240394,), (1358240398,), (1358240424,), (1358240902,), (1358240946,), (1358240977,), (1358241004,), (1358241037,), (1358241074,), (1358241416,), (1358241450,), (1358241500,), (1358241548,), (1358242271,), (1358242324,), (1358242384,), (1358242426,), (1358242474,), (1358242530,), (1358242914,), (1358242963,), (1358243676,), (1358244828,), (1358245326,), (1358245357,), (1358245391,), (1358246684,), (1358246988,), (1358247095,), (1358247223,), (1358247361,), (1358247644,), (1358247696,), (1358247729,), (1358248097,), (1358247975,), (1358247988,), (1358247992,), (1358248003,), (1358248048,), (1358248351,), (1358248370,), (1358248374,), (1358248378,), (1358248418,), (1358248422,), (1358248425,), (1358248470,), (1358248474,), (1358248479,), (1358248483,), (1358248489,), (1358248493,), (1358248520,), (1358248528,), (1358248531,), (1358248538,), (1358248545,), (1358248551,), (1358248616,), (1358248620,), (1358248623,), (1358248627,), (1358248671,), (1358248673,), (1358248677,), (1358248680,), (1358248686,), (1358248691,), (1358248966,), (1358249021,), (1358249107,), (1358249113,), (1358249117,), (1358249251,), (1358249261,), (1358249280,), (1358249285,), (1358249290,), (1358249309,), (1358249394,), (1358249423,), (1358249455,), (1358249483,), (1358249494,), (1358249530,), (1358249534,), (1358249538,), (1358249542,), (1358249570,), (1358249574,), (1358249641,), (1358250226,), (1358250282,), (1358250400,), (1358250444,), (1358250501,), (1358250801,), (1358250796,), (1358251006,), (1358251036,), (1358251086,), (1358251090,), (1358251094,), (1358251177,), (1358251181,), (1358251185,), (1358251189,), (1358251221,), (1358251231,), (1358251232,), (1358251237,), (1358251383,), (1358251416,), (1358252204,), (1358253389,), (1358253393,), (1358253397,), (1358253631,), (1358253635,), (1358253638,), (1358253674,), (1358253679,), (1358253688,), (1358253698,), (1358253702,), (1358253705,), (1358253732,), (1358253737,), (1358253745,), (1358253749,), (1358253787,), (1358253791,), (1358253848,), (1358253877,), (1358253907,), (1358253937,), (1358253964,), (1358254427,), (1358254273,), (1358254302,), (1358254332,), (1358254361,), (1358254397,), (1358254704,), (1358254736,), (1358254766,), (1358254791,), (1358254834,), (1358254839,), (1358254845,), (1358254945,), (1358255151,), (1358255206,), (1358255236,), (1358255259,), (1358255322,), (1358255352,), (1358255384,), (1358255865,), (1358255893,), (1358255920,), (1358255948,), (1358256002,), (1358256037,), (1358256066,), (1358256095,), (1358256125,), (1358256323,), (1358256326,), (1358256329,), (1358256332,), (1358256335,), (1358256370,), (1358256373,), (1358256375,), (1358256377,), (1358256410,), (1358256416,), (1358256420,), (1358256423,), (1358256479,), (1358256482,), (1358256486,), (1358256489,), (1358256492,), (1358256495,), (1358256531,), (1358256534,), (1358256536,), (1358256538,), (1358256539,), (1358256542,), (1358256591,), (1358256596,), (1358256601,), (1358256636,), (1358256640,), (1358256643,), (1358256645,), (1358256649,), (1358256683,), (1358256686,), (1358256688,), (1358256690,), (1358256693,), (1358256732,), (1358256729,), (1358256766,), (1358256769,), (1358256774,), (1358256777,), (1358256809,), (1358256813,), (1358256815,), (1358256816,), (1358256818,), (1358256850,), (1358256853,), (1358256855,), (1358256856,), (1358256887,), (1358256977,), (1358256980,), (1358256984,), (1358256988,), (1358257020,), (1358257022,), (1358257025,), (1358257028,), (1358257030,), (1358257065,), (1358257067,), (1358257069,), (1358257071,), (1358257072,), (1358257127,), (1358257130,), (1358257133,), (1358257140,), (1358257144,), (1358257165,), (1358257168,), (1358257171,), (1358257174,), (1358257205,), (1358257207,), (1358257209,), (1358257211,), (1358257213,), (1358257242,), (1358257246,), (1358257249,), (1358257252,), (1358257256,), (1358257260,), (1358257282,), (1358257286,), (1358257290,), (1358257296,), (1358257299,), (1358257351,), (1358257356,), (1358257399,), (1358257404,), (1358257409,), (1358257413,), (1358257422,), (1358257794,), (1358257797,), (1358257802,), (1358257806,), (1358257810,), (1358257842,), (1358257833,), (1358257837,), (1358257876,), (1358257881,), (1358257885,), (1358257889,), (1358257893,), (1358257923,), (1358257928,), (1358257933,), (1358257938,), (1358257970,), (1358257974,), (1358257977,), (1358257980,), (1358257983,), (1358258009,), (1358258014,), (1358258019,), (1358258058,), (1358258063,), (1358258068,), (1358258073,), (1358258113,), (1358258116,), (1358258118,), (1358258121,), (1358258127,), (1358258177,), (1358258182,), (1358258224,), (1358258228,), (1358258232,), (1358258236,), (1358258240,), (1358258244,), (1358258277,), (1358258282,), (1358258287,), (1358258291,), (1358258296,), (1358258302,), (1358258335,), (1358258340,), (1358258344,), (1358258347,), (1358258383,), (1358258387,), (1358258393,), (1358258395,), (1358258399,), (1358258402,), (1358258466,), (1358258471,), (1358258517,), (1358258524,), (1358258533,), (1358258540,), (1358258546,), (1358258551,), (1358258583,), (1358258912,), (1358258917,), (1358259121,), (1358259150,), (1358259177,), (1358259207,), (1358259234,), (1358259567,), (1358259597,), (1358259627,), (1358259657,), (1358259800,), (1358259803,), (1358259806,), (1358260098,), (1358260102,), (1358260123,), (1358260292,), (1358260297,), (1358260301,), (1358260305,), (1358260336,), (1358260338,), (1358260342,), (1358260345,), (1358260347,), (1358260351,), (1358260629,), (1358260515,), (1358260542,), (1358260569,), (1358260600,), (1358261013,), (1358261045,), (1358261529,), (1358261556,), (1358261581,), (1358261606,), (1358261644,), (1358261742,), (1358261745,), (1358261748,), (1358261773,), (1358261802,), (1358261830,), (1358262035,), (1358262040,), (1358262043,), (1358262048,), (1358262148,), (1358262151,), (1358262154,), (1358262168,), (1358262196,), (1358262215,), (1358262238,), (1358262243,), (1358262249,), (1358262254,), (1358262257,), (1358262262,), (1358262539,), (1358262548,), (1358262553,), (1358262724,), (1358262729,), (1358262733,), (1358262737,), (1358262740,), (1358262744,), (1358262765,), (1358262771,), (1358262780,), (1358262786,), (1358262790,), (1358262844,), (1358262848,), (1358262852,), (1358262856,), (1358262858,), (1358262901,), (1358262904,), (1358262908,), (1358262911,), (1358262914,), (1358262917,), (1358262942,), (1358262945,), (1358262951,), (1358262957,), (1358262964,), (1358263005,), (1358263347,), (1358263373,), (1358263413,), (1358264053,), (1358264109,), (1358264154,), (1358264182,), (1358264210,), (1358264234,), (1358264663,), (1358275226,), (1358275243,), (1358275246,), (1358275248,), (1358275284,), (1358275287,), (1358275290,), (1358275292,), (1358275296,), (1358275327,), (1358275330,), (1358275564,), (1358275577,), (1358275611,), (1358275641,), (1358275671,), (1358276023,), (1358276050,), (1358276077,), (1358276110,), (1358276139,), (1358276634,), (1358276708,), (1358276750,), (1358276779,), (1358276826,), (1358277124,), (1358277161,), (1358277209,), (1358277259,), (1358277273,), (1358277426,), (1358277442,), (1358277444,), (1358277445,), (1358277584,), (1358277641,), (1358277678,), (1358277705,), (1358277750,), (1358278012,), (1358278090,), (1358278102,), (1358278127,), (1358278131,), (1358278156,), (1358278199,), (1358278203,), (1358278206,), (1358278208,), (1358278211,), (1358278319,), (1358278330,), (1358278344,), (1358278433,), (1358278436,), (1358278437,), (1358278439,), (1358278441,), (1358278482,), (1358282961,), (1358283164,), (1358283168,), (1358283195,), (1358283207,), (1358283210,), (1358283213,), (1358283353,), (1358283357,), (1358283396,), (1358283401,), (1358283405,), (1358283409,), (1358283414,), (1358283589,), (1358283619,), (1358283650,), (1358284160,), (1358284212,), (1358284270,), (1358284322,), (1358284379,), (1358285011,), (1358285086,), (1358285138,), (1358285760,), (1358285766,), (1358285772,), (1358285778,), (1358285781,), (1358285784,), (1358286007,), (1358286359,), (1358286391,), (1358286420,), (1358286554,), (1358286576,), (1358287084,), (1358287143,), (1358287196,), (1358287245,), (1358287659,), (1358287688,), (1358287716,), (1358288095,), (1358288144,), (1358288203,), (1358288264,), (1358288318,), (1358288358,), (1358289084,), (1358289138,), (1358289188,), (1358289263,), (1358289340,), (1358289400,), (1358290055,), (1358289947,), (1358290444,), (1358290447,), (1358290450,), (1358290452,), (1358290468,), (1358290884,), (1358290914,), (1358290960,), (1358291451,), (1358291495,), (1358291522,), (1358291552,), (1358291986,), (1358292014,), (1358292064,), (1358292097,), (1358292168,), (1358292185,), (1358292444,), (1358292472,), (1358292502,), (1358292534,), (1358292591,), (1358293002,), (1358293016,), (1358293031,), (1358293034,), (1358293036,), (1358293398,), (1358293558,), (1358293567,), (1358293572,), (1358293738,), (1358293764,), (1358293790,), (1358293819,), (1358293918,), (1358293921,), (1358293925,), (1358293929,), (1358293932,), (1358293936,), (1358293971,), (1358293978,), (1358293983,), (1358293987,), (1358294000,), (1358294073,), (1358294109,), (1358294159,), (1358294220,), (1358294270,), (1358295478,), (1358295539,), (1358295603,), (1358295674,), (1358295764,), (1358295856,), (1358296047,), (1358296117,), (1358296198,), (1358296259,), (1358296322,), (1358296620,), (1358296485,), (1358296552,), (1358296990,), (1358297072,), (1358297129,), (1358297192,), (1358297301,), (1358297363,), (1358297505,), (1358297555,), (1358297589,), (1358297618,), (1358297860,), (1358297891,), (1358297907,), (1358298023,), (1358298026,), (1358298029,), (1358298031,), (1358298033,), (1358298069,), (1358298072,), (1358298074,), (1358298077,), (1358298080,), (1358298082,), (1358298423,), (1358298434,), (1358298497,), (1358298500,), (1358298503,), (1358298507,), (1358298510,), (1358298514,), (1358298543,), (1358298546,), (1358298549,), (1358298554,), (1358298561,), (1358298581,), (1358298591,), (1358298596,), (1358298603,), (1358298606,), (1358298621,), (1358298625,), (1358299365,), (1358299242,), (1358299338,), (1358299700,), (1358299727,), (1358300085,), (1358300090,), (1358300093,), (1358300560,), (1358301099,), (1358301107,), (1358301122,), (1358301124,), (1358301196,), (1358301201,), (1358301202,), (1358301209,), (1358301230,), (1358301236,), (1358301240,), (1358301245,), (1358301277,), (1358301279,), (1358301280,), (1358301314,), (1358301317,), (1358301320,), (1358301323,), (1358301325,), (1358301328,), (1358301367,), (1358301370,), (1358301372,), (1358301374,), (1358301377,), (1358301490,), (1358301511,), (1358301514,), (1358301517,), (1358301520,), (1358301545,), (1358301548,), (1358301553,), (1358301613,), (1358301620,), (1358301697,), (1358301686,), (1358301689,), (1358301692,), (1358301695,), (1358301725,), (1358301727,), (1358301730,), (1358301733,), (1358301735,), (1358301784,), (1358301786,), (1358301788,), (1358301824,), (1358301827,), (1358301829,), (1358301854,), (1358301857,), (1358301866,), (1358301871,), (1358301875,), (1358301899,), (1358301905,), (1358301907,), (1358301911,), (1358301914,), (1358301954,), (1358301958,), (1358301962,), (1358302000,), (1358302010,), (1358302013,), (1358302015,), (1358302018,), (1358302022,), (1358302050,), (1358302054,), (1358302057,), (1358302058,), (1358302061,), (1358302064,), (1358302097,), (1358302099,), (1358302101,), (1358302143,), (1358302147,), (1358302151,), (1358302155,), (1358302281,), (1358302320,), (1358302351,), (1358302550,), (1358302562,), (1358302652,), (1358302683,), (1358303014,), (1358303029,), (1358303040,), (1358303235,), (1358303137,), (1358303160,), (1358303186,), (1358303212,), (1358303378,), (1358303383,), (1358303411,), (1358303421,), (1358303430,), (1358303449,), (1358303496,), (1358303499,), (1358303503,), (1358303505,), (1358303508,), (1358303512,), (1358303689,), (1358303719,), (1358304011,), (1358304013,), (1358304439,), (1358304470,), (1358304509,), (1358304558,), (1358304581,), (1358304921,), (1358304930,), (1358304942,), (1358304965,), (1358305003,), (1358305008,), (1358305010,), (1358305092,), (1358305121,), (1358305147,), (1358305421,), (1358305451,), (1358305482,), (1358305510,), (1358305523,), (1358305528,), (1358305692,), (1358305719,), (1358305724,), (1358305728,), (1358305732,), (1358305736,), (1358306020,), (1358306068,), (1358306107,), (1358306136,), (1358306656,), (1358306710,), (1358306766,), (1358306853,), (1358306931,), (1358307006,), (1358308289,), (1358308321,), (1358308370,), (1358308407,), (1358308667,), (1358308669,), (1358308749,), (1358308769,), (1358308809,), (1358308828,), (1358308875,), (1358308884,), (1358308923,), (1358308929,), (1358309270,), (1358309087,), (1358309120,), (1358309196,), (1358309759,), (1358309816,), (1358309882,), (1358309911,), (1358309945,), (1358309988,), (1358310469,), (1358310474,), (1358310477,), (1358310480,), (1358310500,), (1358310849,), (1358310904,), (1358310964,), (1358311026,), (1358311378,), (1358311435,), (1358311491,), (1358311539,), (1358311568,), (1358311733,), (1358311746,), (1358311751,), (1358311785,), (1358311790,), (1358311794,), (1358311798,), (1358311806,), (1358311814,), (1358311912,), (1358311930,), (1358311933,), (1358311952,), (1358311996,), (1358312159,), (1358312164,), (1358312167,), (1358312170,), (1358312204,), (1358312210,), (1358312215,), (1358312220,), (1358312274,), (1358312354,), (1358312387,), (1358312431,), (1358312475,), (1358312500,), (1358312616,), (1358312626,), (1358312659,), (1358312677,), (1358312681,), (1358313335,), (1358313421,), (1358313448,), (1358313482,), (1358313721,), (1358313766,), (1358313815,), (1358313854,), (1358313881,), (1358313908,), (1358314186,), (1358314195,), (1358314214,), (1358314262,), (1358314276,), (1358314374,), (1358314356,), (1358314360,), (1358314364,), (1358314369,), (1358314406,), (1358314411,), (1358314414,), (1358314416,), (1358314419,), (1358314423,), (1358314595,), (1358314624,), (1358314652,), (1358314681,), (1358314885,), (1358314889,), (1358314893,), (1358314990,), (1358315003,), (1358315005,), (1358315009,), (1358315013,), (1358315017,), (1358315042,), (1358315047,), (1358315052,), (1358315056,), (1358315060,), (1358315061,), (1358315093,), (1358315096,), (1358315099,), (1358315126,), (1358315159,), (1358315229,), (1358315283,), (1358315346,), (1358315403,), (1358315528,), (1358315560,), (1358315589,), (1358315617,), (1358315645,), (1358315913,), (1358315923,), (1358315926,), (1358316079,), (1358316105,), (1358316130,), (1358316151,), (1358316172,), (1358316265,), (1358316291,), (1358316317,), (1358316328,), (1358316377,), (1358316389,), (1358316416,), (1358316446,), (1358316473,), (1358316498,), (1358316700,), (1358316703,), (1358316706,), (1358316708,), (1358316712,), (1358316714,), (1358316762,), (1358316767,), (1358316769,), (1358316810,), (1358316806,), (1358316841,), (1358316843,), (1358316845,), (1358316847,), (1358316849,), (1358316875,), (1358316877,), (1358316880,), (1358316883,), (1358316887,), (1358316934,), (1358316936,), (1358316938,), (1358316940,), (1358316943,), (1358317046,), (1358317074,), (1358317080,), (1358317271,), (1358317314,), (1358317321,), (1358317325,), (1358317328,), (1358317332,), (1358317363,), (1358317367,), (1358317370,), (1358317372,), (1358317373,), (1358317377,), (1358317414,), (1358317428,), (1358317547,), (1358317551,), (1358317572,), (1358317601,), (1358321868,), (1358321809,), (1358322535,), (1358322613,), (1358323248,), (1358323659,), (1358323687,), (1358324071,), (1358324100,), (1358324130,), (1358324158,), (1358324478,), (1358324483,), (1358324488,), (1358324492,), (1358324512,), (1358324584,), (1358324615,), (1358324649,), (1358324681,), (1358324921,), (1358324932,), (1358324964,), (1358325144,), (1358325150,), (1358325156,), (1358325160,), (1358325193,), (1358325197,), (1358325203,), (1358325208,), (1358325213,), (1358325218,), (1358325537,), (1358325560,), (1358325569,), (1358325574,), (1358325580,), (1358325585,), (1358325813,), (1358325834,), (1358325838,), (1358325842,), (1358325980,), (1358325958,), (1358325961,), (1358325965,), (1358325970,), (1358325975,), (1358326093,), (1358326098,), (1358326103,), (1358326167,), (1358326184,), (1358326192,), (1358326195,), (1358326230,), (1358326234,), (1358326239,), (1358326244,), (1358326248,), (1358326281,), (1358326285,), (1358326288,), (1358326332,), (1358326337,), (1358326341,), (1358326344,), (1358326349,), (1358326384,), (1358326392,), (1358326396,), (1358326400,), (1358326404,), (1358326408,), (1358326452,), (1358326454,), (1358326456,), (1358326527,), (1358326531,), (1358326535,), (1358326539,), (1358326676,), (1358326689,), (1358326715,), (1358326719,), (1358326737,), (1358326743,), (1358326777,), (1358326781,), (1358326820,), (1358326825,), (1358326828,), (1358326924,), (1358327010,), (1358327142,), (1358327105,), (1358327122,), (1358327125,), (1358327174,), (1358327177,), (1358327179,), (1358327180,), (1358327183,), (1358327186,), (1358327221,), (1358327224,), (1358327230,), (1358327234,), (1358327265,), (1358327269,), (1358327273,), (1358327276,), (1358327277,), (1358327305,), (1358327308,), (1358327311,), (1358327314,), (1358327317,), (1358327319,), (1358327361,), (1358327368,), (1358327371,), (1358327455,), (1358327459,), (1358327468,), (1358327473,), (1358327477,), (1358327479,), (1358327503,), (1358327507,), (1358327510,), (1358327513,), (1358327516,), (1358327553,), (1358327556,), (1358327558,), (1358327591,), (1358327596,), (1358327600,), (1358327603,), (1358327605,), (1358327608,), (1358327894,), (1358327924,), (1358327976,), (1358328354,), (1358328356,), (1358328357,), (1358328359,), (1358328362,), (1358328365,), (1358328848,), (1358328878,), (1358328906,), (1358328923,), (1358328931,), (1358329087,), (1358329097,), (1358329102,), (1358329708,), (1358329714,), (1358329718,), (1358329724,), (1358329727,), (1358329731,), (1358329866,), (1358329839,), (1358329848,), (1358329852,), (1358329857,), (1358329861,), (1358329976,), (1358330006,), (1358330013,), (1358330164,), (1358330168,), (1358330170,), (1358330198,), (1358330249,), (1358330254,), (1358330260,), (1358330280,), (1358330282,), (1358330287,), (1358330292,), (1358330296,), (1358330299,), (1358330324,), (1358330338,), (1358330343,), (1358330347,), (1358330350,), (1358330390,), (1358330395,), (1358330401,), (1358330405,), (1358330410,), (1358330436,), (1358330476,), (1358330480,), (1358330484,), (1358330488,), (1358330515,), (1358330519,), (1358330523,), (1358330526,), (1358330529,), (1358330579,), (1358330582,), (1358330587,), (1358330592,), (1358330597,), (1358330619,), (1358330625,), (1358330629,), (1358330633,), (1358330647,), (1358330651,), (1358330718,), (1358330723,), (1358330726,), (1358330728,), (1358331533,), (1358331600,), (1358331665,), (1358331722,), (1358331777,), (1358331841,), (1358332833,), (1358332580,), (1358332656,), (1358332747,), (1358333568,), (1358333668,), (1358334358,), (1358334426,), (1358334498,), (1358334551,), (1358334604,), (1358335035,), (1358335040,), (1358335065,), (1358335070,), (1358335121,), (1358335125,), (1358335128,), (1358335131,), (1358335147,), (1358335180,), (1358335327,), (1358335358,), (1358335364,), (1358335379,), (1358335381,), (1358335447,), (1358335450,), (1358335453,), (1358335457,), (1358335460,), (1358335488,), (1358335773,), (1358335795,), (1358335799,), (1358336013,), (1358336066,), (1358336387,), (1358336419,), (1358336432,), (1358336436,), (1358336464,), (1358336473,), (1358336562,), (1358336566,), (1358336569,), (1358336572,), (1358336575,), (1358336577,), (1358336686,), (1358336725,), (1358336776,), (1358336841,), (1358337333,), (1358337361,), (1358337390,), (1358337428,), (1358337472,), (1358337505,), (1358337790,), (1358337841,), (1358337856,), (1358337866,), (1358338060,), (1358338066,), (1358338070,), (1358338074,), (1358338080,), (1358338084,), (1358338114,), (1358338111,), (1358338339,), (1358338466,), (1358338494,), (1358338503,), (1358338506,), (1358338508,), (1358338511,), (1358338558,), (1358338601,), (1358338630,), (1358338663,), (1358338901,), (1358338921,), (1358338948,), (1358338973,), (1358339155,), (1358339195,), (1358339199,), (1358339203,), (1358339207,), (1358339211,), (1358339214,), (1358339242,), (1358339245,), (1358339247,), (1358341029,), (1358341530,), (1358341555,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'14052025': {'nb_upload': 41, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22952585]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] map_info['map_portfolio_photo'] : {22952585: [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787]} final : True mtd_id 4302 list_pids : [1358115736, 1358114617, 1358114565, 1358113527, 1358113501, 1358113463, 1358113431, 1358113429, 1358113286, 1358113260, 1358113231, 1358113204, 1358113181, 1358113178, 1358113142, 1358113139, 1358113136, 1358113095, 1358113092, 1358113090, 1358113087, 1358113084, 1358113059, 1358113057, 1358113055, 1358113018, 1358113015, 1358113012, 1358113009, 1358112968, 1358112965, 1358112962, 1358112923, 1358112920, 1358112888, 1358112885, 1358112883, 1358112878, 1358112870, 1358112822, 1358112787] Looping around the photos to save general results len do output : 1 /22952585Didn'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, '2857534') ('4302', '22952585', '1358115736', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534') ('4302', None, None, None, None, None, None, None, '2857534') ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '22952585', 'None', None, None, None, None, '2857534'), ('4302', '22952585', '1358115736', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358114617', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358114565', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113527', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113501', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113463', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113431', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113429', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113286', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113260', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113231', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113204', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113181', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113178', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113142', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113139', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113136', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113095', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113092', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113090', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113087', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113084', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113059', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113057', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113055', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113018', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113015', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113012', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358113009', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112968', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112965', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112962', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112923', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112920', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112888', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112885', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112883', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112878', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112870', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112822', None, None, None, None, None, '2857534'), ('4302', '22952585', '1358112787', None, None, None, None, None, '2857534')] time used for this insertion : 0.5711636543273926 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.45815896987915 time spend to save output : 0.571601390838623 total time spend for step 5 : 6.029760360717773 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 (2857534) 3.20user 2.76system 0:20.97elapsed 28%CPU (0avgtext+0avgdata 168112maxresident)k 544inputs+29992outputs (6major+89424minor)pagefaults 0swaps