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 : 1814715 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 (2857535) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2857535) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953062 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2857535'] with mtr_portfolio_ids : ['22953062'] and first list_photo_ids : [] new path : /proc/1814715/ Name: python3 Umask: 0002 State: R (running) Tgid: 1814715 Ngid: 0 Pid: 1814715 PPid: 1814714 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1814715 NSpid: 1814715 NSpgid: 1812509 NSsid: 1812509 VmPeak: 1107228 kB VmSize: 1107228 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98996 kB VmRSS: 98996 kB RssAnon: 60200 kB RssFile: 38796 kB RssShmem: 0 kB VmData: 865976 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 592 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 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: 59 nonvoluntary_ctxt_switches: 118 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1814715', 'Ngid': '0', 'Pid': '1814715', 'PPid': '1814714', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1814715', 'NSpid': '1814715', 'NSpgid': '1812509', 'NSsid': '1812509', 'VmPeak': '1107228 kB', 'VmSize': '1107228 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98996 kB', 'VmRSS': '98996 kB', 'RssAnon': '60200 kB', 'RssFile': '38796 kB', 'RssShmem': '0 kB', 'VmData': '865976 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '592 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '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': '59', 'nonvoluntary_ctxt_switches': '118'} ('datou_batch_current', '1814715', '1107228', '0', '1107228', '865976', '98996', b'', 'marlene', '2857535') 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 (22953062) 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 (2857535 ) ) 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 (22953062) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1358122047, 'portfolio_id': 22953062}, {'photo_id': 1358121453, 'portfolio_id': 22953062}, {'photo_id': 1358121346, 'portfolio_id': 22953062}, {'photo_id': 1358121342, 'portfolio_id': 22953062}, {'photo_id': 1358121339, 'portfolio_id': 22953062}, {'photo_id': 1358121335, 'portfolio_id': 22953062}, {'photo_id': 1358121332, 'portfolio_id': 22953062}, {'photo_id': 1358121097, 'portfolio_id': 22953062}, {'photo_id': 1358121067, 'portfolio_id': 22953062}, {'photo_id': 1358121058, 'portfolio_id': 22953062}, {'photo_id': 1358121054, 'portfolio_id': 22953062}, {'photo_id': 1358121050, 'portfolio_id': 22953062}, {'photo_id': 1358120846, 'portfolio_id': 22953062}, {'photo_id': 1358120820, 'portfolio_id': 22953062}, {'photo_id': 1358120585, 'portfolio_id': 22953062}, {'photo_id': 1358120551, 'portfolio_id': 22953062}, {'photo_id': 1358120521, 'portfolio_id': 22953062}, {'photo_id': 1358120516, 'portfolio_id': 22953062}, {'photo_id': 1358120512, 'portfolio_id': 22953062}, {'photo_id': 1358120471, 'portfolio_id': 22953062}, {'photo_id': 1358120295, 'portfolio_id': 22953062}, {'photo_id': 1358119180, 'portfolio_id': 22953062}, {'photo_id': 1358118788, 'portfolio_id': 22953062}, {'photo_id': 1358118736, 'portfolio_id': 22953062}, {'photo_id': 1358118705, 'portfolio_id': 22953062}, {'photo_id': 1358118693, 'portfolio_id': 22953062}, {'photo_id': 1358118689, 'portfolio_id': 22953062}, {'photo_id': 1358117961, 'portfolio_id': 22953062}, {'photo_id': 1358116463, 'portfolio_id': 22953062}, {'photo_id': 1358116390, 'portfolio_id': 22953062}, {'photo_id': 1358116032, 'portfolio_id': 22953062}, {'photo_id': 1358116005, 'portfolio_id': 22953062}, {'photo_id': 1358115976, 'portfolio_id': 22953062}, {'photo_id': 1358115951, 'portfolio_id': 22953062}, {'photo_id': 1358115948, 'portfolio_id': 22953062}, {'photo_id': 1358115938, 'portfolio_id': 22953062}, {'photo_id': 1358115707, 'portfolio_id': 22953062}, {'photo_id': 1358115677, 'portfolio_id': 22953062}, {'photo_id': 1358115647, 'portfolio_id': 22953062}, {'photo_id': 1358115602, 'portfolio_id': 22953062}] map_portfolio_id_photo_id: {22953062: [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602]} ##### 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.024463415145874023 #### 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:56 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 (22953062) 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 : 22953062 get user id for portfolio 22953062 get sub ptf for main ptf 22953062, type 3726 and hashtags ['plastique', 'flou', 'Teint_Dans_La_Masse', 'papier', 'environnement', 'autre_refus', 'Carton_gris', 'mal_croppe', 'Carton_brun', 'metal', 'kraft', '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`=22953062 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Teint_Dans_La_Masse','papier','environnement','autre_refus','Carton_gris','mal_croppe','Carton_brun','metal','kraft','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`=22953062 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Teint_Dans_La_Masse','papier','environnement','autre_refus','Carton_gris','mal_croppe','Carton_brun','metal','kraft','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22953062, 'sub_port_id': 22953073, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323793, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'metal': {'main_port_id': 22953062, 'sub_port_id': 22953074, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323794, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'Carton_gris': {'main_port_id': 22953062, 'sub_port_id': 22953075, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323795, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'plastique': {'main_port_id': 22953062, 'sub_port_id': 22953076, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323796, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 22953062, 'sub_port_id': 22953077, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323797, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'cartonnette': {'main_port_id': 22953062, 'sub_port_id': 22953078, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323798, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'mal_croppe': {'main_port_id': 22953062, 'sub_port_id': 22953079, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323799, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'kraft': {'main_port_id': 22953062, 'sub_port_id': 22953080, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323800, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'flou': {'main_port_id': 22953062, 'sub_port_id': 22953081, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323801, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'Carton_brun': {'main_port_id': 22953062, 'sub_port_id': 22953082, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323802, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'environnement': {'main_port_id': 22953062, 'sub_port_id': 22953083, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323803, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}, 'autre_refus': {'main_port_id': 22953062, 'sub_port_id': 22953084, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323804, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 7), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22953073 , 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=22953062 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 (22953073) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953074 , 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=22953062 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 (22953074) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953075 , 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=22953062 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 (22953075) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953076 , 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=22953062 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 (22953076) result : ((1358117112,), (1358120463,), (1358120465,), (1358120466,), (1358120467,), (1358121304,), (1358121307,), (1358121309,), (1358123106,), (1358123909,), (1358123911,), (1358123913,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953077 , 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=22953062 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 (22953077) result : ((1358117001,), (1358120448,), (1358120449,), (1358120450,), (1358120451,), (1358120452,), (1358121286,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953078 , 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=22953062 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 (22953078) result : ((1358117051,), (1358120457,), (1358120458,), (1358123079,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953079 , 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=22953062 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 (22953079) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953080 , 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=22953062 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 (22953080) result : ((1358120470,), (1358123122,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953081 , 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=22953062 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 (22953081) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953082 , 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=22953062 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 (22953082) result : ((1358117080,), (1358117084,), (1358117088,), (1358117092,), (1358120460,), (1358120461,), (1358120462,), (1358121293,), (1358123090,), (1358123093,), (1358123896,), (1358123898,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953083 , 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=22953062 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 (22953083) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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 22953084 , 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=22953062 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 (22953084) result : ((1358117028,), (1358117032,), (1358120453,), (1358120454,), (1358120455,), (1358123062,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22953062) result : ((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,)) 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`=22953062 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Teint_Dans_La_Masse','papier','environnement','autre_refus','Carton_gris','mal_croppe','Carton_brun','metal','kraft','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`=22953062 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','flou','Teint_Dans_La_Masse','papier','environnement','autre_refus','Carton_gris','mal_croppe','Carton_brun','metal','kraft','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 22953062, 'sub_port_id': 22953085, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323805, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'metal': {'main_port_id': 22953062, 'sub_port_id': 22953086, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323806, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'Carton_gris': {'main_port_id': 22953062, 'sub_port_id': 22953087, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323807, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'plastique': {'main_port_id': 22953062, 'sub_port_id': 22953088, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323808, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'Teint_Dans_La_Masse': {'main_port_id': 22953062, 'sub_port_id': 22953089, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323809, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'cartonnette': {'main_port_id': 22953062, 'sub_port_id': 22953090, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323810, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'mal_croppe': {'main_port_id': 22953062, 'sub_port_id': 22953091, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323811, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'kraft': {'main_port_id': 22953062, 'sub_port_id': 22953092, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323812, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'flou': {'main_port_id': 22953062, 'sub_port_id': 22953093, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323813, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'Carton_brun': {'main_port_id': 22953062, 'sub_port_id': 22953094, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323814, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'environnement': {'main_port_id': 22953062, 'sub_port_id': 22953095, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323815, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}, 'autre_refus': {'main_port_id': 22953062, 'sub_port_id': 22953096, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15323816, 'last_updated_at': datetime.datetime(2025, 5, 14, 10, 19, 11), 'last_updated_at_desc': datetime.datetime(2025, 5, 14, 10, 19, 11), 'last_updated_at_asc': datetime.datetime(2025, 5, 14, 10, 3, 28)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953085,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953073 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953086,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953074 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953087,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953075 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953088,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953076 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953089,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953077 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953090,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953078 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953091,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953079 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953092,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953080 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953093,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953081 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953094,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953082 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953095,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953083 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22953096,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22953084 lien utilise dans velours : https://www.fotonower.com/velours/22953085,22953086,22953087,22953088,22953089,22953090,22953091,22953092,22953093,22953094,22953095,22953096?tags=papier,metal,Carton_gris,plastique,Teint_Dans_La_Masse,cartonnette,mal_croppe,kraft,flou,Carton_brun,environnement,autre_refus After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22953062]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] map_info['map_portfolio_photo'] : {22953062: [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602]} final : False mtd_id 4302 list_pids : [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] Looping around the photos to save general results len do output : 1 /22953062. 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, '2857535') ('4302', '22953062', '1358122047', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535') 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', None, '22953062', "{'papier': 22953073, 'metal': 22953074, 'Carton_gris': 22953075, 'plastique': 22953076, 'Teint_Dans_La_Masse': 22953077, 'cartonnette': 22953078, 'mal_croppe': 22953079, 'kraft': 22953080, 'flou': 22953081, 'Carton_brun': 22953082, 'environnement': 22953083, 'autre_refus': 22953084}", None, None, None, None, '2857535'), ('4302', '22953062', '1358122047', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535')] time used for this insertion : 0.030373096466064453 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4706132411956787 time spend to save output : 0.03108072280883789 total time spend for step 1 : 1.5016939640045166 step2:final Thu May 15 05:45:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 (22953062) 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 22953062 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1358115707,1358115677,1358115647,1358115602,1358116032,1358116005,1358115976,1358115951,1358115948,1358115938,1358116463,1358116390,1358117961,1358118788,1358118736,1358118705,1358118693,1358118689,1358120295,1358119180,1358120471,1358120585,1358120551,1358120521,1358120516,1358120512,1358120846,1358120820,1358121097,1358121067,1358121058,1358121054,1358121050,1358121346,1358121342,1358121339,1358121335,1358121332,1358121453,1358122047); 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([22953062]) Inside saveOutput : final : False verbose : True original output for save of step final : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} new output for save of step final : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] map_info['map_portfolio_photo'] : {22953062: [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602]} final : False mtd_id 4302 list_pids : [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] Looping around the photos to save general results len do output : 40 /1358122047.Didn't retrieve data . /1358121453.Didn't retrieve data . /1358121346.Didn't retrieve data . /1358121342.Didn't retrieve data . /1358121339.Didn't retrieve data . /1358121335.Didn't retrieve data . /1358121332.Didn't retrieve data . /1358121097.Didn't retrieve data . /1358121067.Didn't retrieve data . /1358121058.Didn't retrieve data . /1358121054.Didn't retrieve data . /1358121050.Didn't retrieve data . /1358120846.Didn't retrieve data . /1358120820.Didn't retrieve data . /1358120585.Didn't retrieve data . /1358120551.Didn't retrieve data . /1358120521.Didn't retrieve data . /1358120516.Didn't retrieve data . /1358120512.Didn't retrieve data . /1358120471.Didn't retrieve data . /1358120295.Didn't retrieve data . /1358119180.Didn't retrieve data . /1358118788.Didn't retrieve data . /1358118736.Didn't retrieve data . /1358118705.Didn't retrieve data . /1358118693.Didn't retrieve data . /1358118689.Didn't retrieve data . /1358117961.Didn't retrieve data . /1358116463.Didn't retrieve data . /1358116390.Didn't retrieve data . /1358116032.Didn't retrieve data . /1358116005.Didn't retrieve data . /1358115976.Didn't retrieve data . /1358115951.Didn't retrieve data . /1358115948.Didn't retrieve data . /1358115938.Didn't retrieve data . /1358115707.Didn't retrieve data . /1358115677.Didn't retrieve data . /1358115647.Didn't retrieve data . /1358115602.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, '2857535') ('4302', '22953062', '1358122047', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 120 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', '22953062', '1358122047', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121453', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121346', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121342', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121339', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121335', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121332', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121097', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121067', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121058', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121054', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358121050', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120846', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120820', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120585', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120551', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120521', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120516', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120512', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120471', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358120295', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358119180', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358118788', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358118736', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358118705', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358118693', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358118689', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358117961', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358116463', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358116390', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358116032', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358116005', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115976', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115951', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115948', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115938', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115707', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115677', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115647', '0.05938318383262952', None, None, None, None, '2857535'), ('4302', '22953062', '1358115602', '0.05938318383262952', None, None, None, None, '2857535')] time used for this insertion : 0.02335500717163086 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06985020637512207 time spend to save output : 0.02492046356201172 total time spend for step 2 : 0.09477066993713379 step3:velours_tree Thu May 15 05:45:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {22953062: [{'papier': 22953073, 'metal': 22953074, 'Carton_gris': 22953075, 'plastique': 22953076, 'Teint_Dans_La_Masse': 22953077, 'cartonnette': 22953078, 'mal_croppe': 22953079, 'kraft': 22953080, 'flou': 22953081, 'Carton_brun': 22953082, 'environnement': 22953083, 'autre_refus': 22953084}]} input_args_next_step : {22953062: ()} output_args : {22953062: [{'papier': 22953073, 'metal': 22953074, 'Carton_gris': 22953075, 'plastique': 22953076, 'Teint_Dans_La_Masse': 22953077, 'cartonnette': 22953078, 'mal_croppe': 22953079, 'kraft': 22953080, 'flou': 22953081, 'Carton_brun': 22953082, 'environnement': 22953083, 'autre_refus': 22953084}]} args : 22953062 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 : ({'papier': 22953073, 'metal': 22953074, 'Carton_gris': 22953075, 'plastique': 22953076, 'Teint_Dans_La_Masse': 22953077, 'cartonnette': 22953078, 'mal_croppe': 22953079, 'kraft': 22953080, 'flou': 22953081, 'Carton_brun': 22953082, 'environnement': 22953083, 'autre_refus': 22953084},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22953062) 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([22953062]) 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.37672924995422363 time spend to save output : 4.9114227294921875e-05 total time spend for step 3 : 0.37677836418151855 step4:send_mail_cod Thu May 15 05:45:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec 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 : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} input_args_next_step : {1358122047: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358122047 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121453 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121346 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121342 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121339 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121335 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121332 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121097 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121067 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121058 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121054 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358121050 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120846 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120820 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120585 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120551 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120521 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120516 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120512 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120471 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358120295 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358119180 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358118788 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358118736 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358118705 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358118693 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358118689 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358117961 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358116463 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358116390 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358116032 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358116005 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115976 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115951 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115948 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115938 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115707 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115677 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115647 depend.output_id : 0 input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ()} output_args : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',)} args : 1358115602 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 : {22953062: [{'papier': 22953073, 'metal': 22953074, 'Carton_gris': 22953075, 'plastique': 22953076, 'Teint_Dans_La_Masse': 22953077, 'cartonnette': 22953078, 'mal_croppe': 22953079, 'kraft': 22953080, 'flou': 22953081, 'Carton_brun': 22953082, 'environnement': 22953083, 'autre_refus': 22953084}]} input_args_next_step : {1358122047: ('0.05938318383262952',), 1358121453: ('0.05938318383262952',), 1358121346: ('0.05938318383262952',), 1358121342: ('0.05938318383262952',), 1358121339: ('0.05938318383262952',), 1358121335: ('0.05938318383262952',), 1358121332: ('0.05938318383262952',), 1358121097: ('0.05938318383262952',), 1358121067: ('0.05938318383262952',), 1358121058: ('0.05938318383262952',), 1358121054: ('0.05938318383262952',), 1358121050: ('0.05938318383262952',), 1358120846: ('0.05938318383262952',), 1358120820: ('0.05938318383262952',), 1358120585: ('0.05938318383262952',), 1358120551: ('0.05938318383262952',), 1358120521: ('0.05938318383262952',), 1358120516: ('0.05938318383262952',), 1358120512: ('0.05938318383262952',), 1358120471: ('0.05938318383262952',), 1358120295: ('0.05938318383262952',), 1358119180: ('0.05938318383262952',), 1358118788: ('0.05938318383262952',), 1358118736: ('0.05938318383262952',), 1358118705: ('0.05938318383262952',), 1358118693: ('0.05938318383262952',), 1358118689: ('0.05938318383262952',), 1358117961: ('0.05938318383262952',), 1358116463: ('0.05938318383262952',), 1358116390: ('0.05938318383262952',), 1358116032: ('0.05938318383262952',), 1358116005: ('0.05938318383262952',), 1358115976: ('0.05938318383262952',), 1358115951: ('0.05938318383262952',), 1358115948: ('0.05938318383262952',), 1358115938: ('0.05938318383262952',), 1358115707: ('0.05938318383262952',), 1358115677: ('0.05938318383262952',), 1358115647: ('0.05938318383262952',), 1358115602: ('0.05938318383262952',), 22953062: ()} output_args : {22953062: [{'papier': 22953073, 'metal': 22953074, 'Carton_gris': 22953075, 'plastique': 22953076, 'Teint_Dans_La_Masse': 22953077, 'cartonnette': 22953078, 'mal_croppe': 22953079, 'kraft': 22953080, 'flou': 22953081, 'Carton_brun': 22953082, 'environnement': 22953083, 'autre_refus': 22953084}]} args : 22953062 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 :41, first value : ('0.05938318383262952',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22953062) 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 (1358122047,1358121453,1358121346,1358121342,1358121339,1358121335,1358121332,1358121097,1358121067,1358121058,1358121054,1358121050,1358120846,1358120820,1358120585,1358120551,1358120521,1358120516,1358120512,1358120471,1358120295,1358119180,1358118788,1358118736,1358118705,1358118693,1358118689,1358117961,1358116463,1358116390,1358116032,1358116005,1358115976,1358115951,1358115948,1358115938,1358115707,1358115677,1358115647,1358115602) Found this number of photos: 40 ##### Call download_photos : nb_thread : 5 begin to download photo : 1358115602 begin to download photo : 1358116032 begin to download photo : 1358119180 begin to download photo : 1358120846 begin to download photo : 1358121342 download finish for photo 1358115602 begin to download photo : 1358115647 download finish for photo 1358120846 begin to download photo : 1358121050 download finish for photo 1358119180 begin to download photo : 1358120295 download finish for photo 1358121342 begin to download photo : 1358121346 download finish for photo 1358116032 begin to download photo : 1358116390 download finish for photo 1358115647 begin to download photo : 1358115677 download finish for photo 1358120295 begin to download photo : 1358120471 download finish for photo 1358121050 begin to download photo : 1358121054 download finish for photo 1358121346 begin to download photo : 1358121453 download finish for photo 1358120471 begin to download photo : 1358120512 download finish for photo 1358121054 begin to download photo : 1358121058 download finish for photo 1358115677 begin to download photo : 1358115707 download finish for photo 1358121453 begin to download photo : 1358122047 download finish for photo 1358120512 begin to download photo : 1358120516 download finish for photo 1358121058 begin to download photo : 1358121067 download finish for photo 1358115707 begin to download photo : 1358115938 download finish for photo 1358122047 download finish for photo 1358116390 begin to download photo : 1358116463 download finish for photo 1358120516 begin to download photo : 1358120521 download finish for photo 1358115938 begin to download photo : 1358115948 download finish for photo 1358121067 begin to download photo : 1358121097 download finish for photo 1358116463 begin to download photo : 1358117961 download finish for photo 1358115948 begin to download photo : 1358115951 download finish for photo 1358121097 begin to download photo : 1358121332 download finish for photo 1358120521 begin to download photo : 1358120551 download finish for photo 1358117961 begin to download photo : 1358118689 download finish for photo 1358115951 begin to download photo : 1358115976 download finish for photo 1358120551 begin to download photo : 1358120585 download finish for photo 1358121332 begin to download photo : 1358121335 download finish for photo 1358118689 begin to download photo : 1358118693 download finish for photo 1358115976 begin to download photo : 1358116005 download finish for photo 1358120585 begin to download photo : 1358120820 download finish for photo 1358118693 begin to download photo : 1358118705 download finish for photo 1358121335 begin to download photo : 1358121339 download finish for photo 1358116005 download finish for photo 1358120820 download finish for photo 1358118705 begin to download photo : 1358118736 download finish for photo 1358118736 begin to download photo : 1358118788 download finish for photo 1358121339 download finish for photo 1358118788 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette229530741747280760/ length of list_filenames : 40 ; length of list_pids : 40 ; length of list_args : 40 results_Auto_P22953062_15-05-2025_05_46_00.pdf 22953074 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=22953074 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229530741747280760 22953076 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=22953076 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358117112: '1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702367_0.png', 1358120463: '1747210165_1946576_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6_rle_crop_3796709556_0.png', 1358120465: '1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709575_0.png', 1358120466: '1747210165_1946576_1358115948_db02ed76aa06fdf9c547eafa77c30a27_rle_crop_3796709597_0.png', 1358120467: '1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709616_0.png', 1358121304: '1747210407_1953652_1358120846_75ceac32c8b55a3910b00125e551354b_rle_crop_3796724438_0.png', 1358121307: '1747210407_1953652_1358120551_60d815c41178f5540fa6b67f3f8839c3_rle_crop_3796724665_0.png', 1358121309: '1747210407_1953652_1358120512_ddd38fb19408f0c2861508752bbd432c_rle_crop_3796724898_0.png', 1358123106: '1747210646_1960622_1358121058_229741c3b20620493552b4937af65c6d_rle_crop_3796735319_0.png', 1358123909: '1747210767_2969583_1358121097_3ec0dfc6e3398a57d62eeb8d259c17a6_rle_crop_3796735780_0.png', 1358123911: '1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735788_0.png', 1358123913: '1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735789_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/632efa27282f0e20b99fb432323ddc9d_67464689.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f8c681076ba8de20a5466dada3632c98_38903370.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/99a238a98c6f5646b617f23696d90012_44303534.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/dcb44d15eafbef4f9cd911ae9ea2e80c_23265403.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8487893eee0ef84e92362359fefbb378_18180686.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/be18fd539a9439fb913dad1c64ecc33c_70215510.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/3d21e5aff4047a2d41382b73fa8e6ddd_23536312.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/63a6f1942b3653fe3e6b57836727c604_84662576.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f2db82789fdfbeba7c0ecb74c6242ce4_60742370.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a9b4a6b06625cb7954784d2be45b4197_43289392.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5e72613809cde3940a1f9eca684ed77e_69966217.png change filename to text .imagette229530761747280760/ imagette229530761747280760/1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735788_0.png.png imagette229530761747280760/1747210165_1946576_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6_rle_crop_3796709556_0.png.png imagette229530761747280760/1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709616_0.png.png imagette229530761747280760/1747210407_1953652_1358120846_75ceac32c8b55a3910b00125e551354b_rle_crop_3796724438_0.png.png imagette229530761747280760/1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735789_0.png.png imagette229530761747280760/1747210767_2969583_1358121097_3ec0dfc6e3398a57d62eeb8d259c17a6_rle_crop_3796735780_0.png.png imagette229530761747280760/1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709575_0.png.png imagette229530761747280760/1747210165_1946576_1358115948_db02ed76aa06fdf9c547eafa77c30a27_rle_crop_3796709597_0.png.png imagette229530761747280760/1747210407_1953652_1358120551_60d815c41178f5540fa6b67f3f8839c3_rle_crop_3796724665_0.png.png imagette229530761747280760/1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702367_0.png.png imagette229530761747280760/1747210646_1960622_1358121058_229741c3b20620493552b4937af65c6d_rle_crop_3796735319_0.png.png imagette229530761747280760/1747210407_1953652_1358120512_ddd38fb19408f0c2861508752bbd432c_rle_crop_3796724898_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/a19e7a79e335fad2e17da8532f435212_30751690.png imagette229530761747280760 22953078 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=22953078 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358117051: '1747209806_1937209_1358115602_4c79d949a8d5acdfc84042ca2538c9bf_rle_crop_3796702374_0.png', 1358120457: '1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709573_0.png', 1358120458: '1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709606_0.png', 1358123079: '1747210646_1960622_1358121054_aeb68d416f9f3c821836ca54f46fcf82_rle_crop_3796735326_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/28aefd754662bd2d3945486aaf284541_7764125.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/3804ca5113290ddc64162f3fea017d95_11315658.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/518d0968314eb8459165143871f8aded_39978522.png change filename to text .imagette229530781747280761/ imagette229530781747280761/1747210646_1960622_1358121054_aeb68d416f9f3c821836ca54f46fcf82_rle_crop_3796735326_0.png.png imagette229530781747280761/1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709573_0.png.png imagette229530781747280761/1747209806_1937209_1358115602_4c79d949a8d5acdfc84042ca2538c9bf_rle_crop_3796702374_0.png.png imagette229530781747280761/1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709606_0.png.png imagette229530791747280762/ wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/fce8accfc691ca595f426e5c7af07efe_35707596.png imagette229530781747280761 22953079 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=22953079 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229530791747280762 22953080 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=22953080 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358120470: '1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709607_0.png', 1358123122: '1747210646_1960622_1358121050_455d8be3d2117ef5ff11bcb92836a59b_rle_crop_3796735340_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/bd29e2d6613657116eabc7dbd089f149_6345146.png change filename to text .imagette229530801747280762/ imagette229530801747280762/1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709607_0.png.png imagette229530801747280762/1747210646_1960622_1358121050_455d8be3d2117ef5ff11bcb92836a59b_rle_crop_3796735340_0.png.png imagette229530811747280762/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/0ace88bdacbfffc66d1d31dad063ade9_61899234.png imagette229530801747280762 22953081 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=22953081 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229530811747280762 22953084 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=22953084 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358117028: '1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702361_0.png', 1358117032: '1747209806_1937209_1358115602_4c79d949a8d5acdfc84042ca2538c9bf_rle_crop_3796702377_0.png', 1358120453: '1747210165_1946576_1358115948_db02ed76aa06fdf9c547eafa77c30a27_rle_crop_3796709598_0.png', 1358120454: '1747210165_1946576_1358115948_db02ed76aa06fdf9c547eafa77c30a27_rle_crop_3796709595_0.png', 1358120455: '1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709604_0.png', 1358123062: '1747210646_1960622_1358121054_aeb68d416f9f3c821836ca54f46fcf82_rle_crop_3796735331_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/6cd923996a1945ab5a8fa3a727c450b5_43421685.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8ea21689d090ca251dc85a9590664e02_40165680.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/118318435187cdfb7c35271ef4e7df62_54461953.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/7eaaffe155debdf53d843474a108b6e4_55578066.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/96ece2cb26d50c9a9ca875e5d5375878_49399747.png change filename to text .imagette229530841747280762/ imagette229530841747280762/1747210165_1946576_1358115948_db02ed76aa06fdf9c547eafa77c30a27_rle_crop_3796709595_0.png.png imagette229530841747280762/1747210165_1946576_1358115938_4e41611fe031d4f067cf689ec6f41940_rle_crop_3796709604_0.png.png imagette229530841747280762/1747210165_1946576_1358115948_db02ed76aa06fdf9c547eafa77c30a27_rle_crop_3796709598_0.png.png imagette229530841747280762/1747210646_1960622_1358121054_aeb68d416f9f3c821836ca54f46fcf82_rle_crop_3796735331_0.png.png imagette229530841747280762/1747209806_1937209_1358115602_4c79d949a8d5acdfc84042ca2538c9bf_rle_crop_3796702377_0.png.png imagette229530841747280762/1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702361_0.png.png imagette229530751747280763/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/35fd043f4860471cd96339a673c69143_12918930.png imagette229530841747280762 22953075 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=22953075 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette229530751747280763 22953077 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=22953077 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358117001: '1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702364_0.png', 1358120448: '1747210165_1946576_1358116463_bbafc9ba8322681fc72e4e5efc749a3f_rle_crop_3796709549_0.png', 1358120449: '1747210165_1946576_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6_rle_crop_3796709562_0.png', 1358120450: '1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709571_0.png', 1358120451: '1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709570_0.png', 1358120452: '1747210165_1946576_1358115951_4dbc345061c24dc56af31f730778c3e2_rle_crop_3796709585_0.png', 1358121286: '1747210407_1953652_1358120512_ddd38fb19408f0c2861508752bbd432c_rle_crop_3796724896_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/4f3882e4295946c4635c8354aebd54ab_31547900.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/03c0c63ef8962686f2cdaac29cc46291_8130846.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/88136d5d0c6a6c9d7dfca2b7ed2e6ab8_38185710.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8502c4fbaab85c273b815cbe7c158ca2_95270843.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5ada479829d40beb21ebf10e58fdd195_6198241.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/0a527d472c11b446118ebde7ee1aaac9_92788539.png change filename to text .imagette229530771747280763/ imagette229530771747280763/1747210165_1946576_1358115951_4dbc345061c24dc56af31f730778c3e2_rle_crop_3796709585_0.png.png imagette229530771747280763/1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702364_0.png.png imagette229530771747280763/1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709570_0.png.png imagette229530771747280763/1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709571_0.png.png imagette229530771747280763/1747210407_1953652_1358120512_ddd38fb19408f0c2861508752bbd432c_rle_crop_3796724896_0.png.png imagette229530771747280763/1747210165_1946576_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6_rle_crop_3796709562_0.png.png imagette229530771747280763/1747210165_1946576_1358116463_bbafc9ba8322681fc72e4e5efc749a3f_rle_crop_3796709549_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f14f6eca9425f58ac86b8cd197a6baed_33757295.png imagette229530771747280763 22953082 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=22953082 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1358117080: '1747209806_1937209_1358115707_44897b4683f7be5db8ccf36df806461a_rle_crop_3796702341_0.png', 1358117084: '1747209806_1937209_1358115677_4bdb7f84a9ac38fe82562effc54c4a04_rle_crop_3796702347_0.png', 1358117088: '1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702365_0.png', 1358117092: '1747209806_1937209_1358115602_4c79d949a8d5acdfc84042ca2538c9bf_rle_crop_3796702380_0.png', 1358120460: '1747210165_1946576_1358116463_bbafc9ba8322681fc72e4e5efc749a3f_rle_crop_3796709543_0.png', 1358120461: '1747210165_1946576_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6_rle_crop_3796709564_0.png', 1358120462: '1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709568_0.png', 1358121293: '1747210407_1953652_1358120846_75ceac32c8b55a3910b00125e551354b_rle_crop_3796724442_0.png', 1358123090: '1747210646_1960622_1358121054_aeb68d416f9f3c821836ca54f46fcf82_rle_crop_3796735330_0.png', 1358123093: '1747210646_1960622_1358121050_455d8be3d2117ef5ff11bcb92836a59b_rle_crop_3796735343_0.png', 1358123896: '1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735797_0.png', 1358123898: '1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735792_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/4d8399ad5dd981b4958362da1a620172_34882931.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/8d98f4207b39a0b06a1d79d0cd0a9801_96908236.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/143f87d042d006f829256c2c2229162a_84648412.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/b503da4edf07cfada6bfb13e43e425b6_49404141.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/191b3955400a4c131c01fe69c8a9d44c_59702803.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e5350bca8c0042d6e8a770bf89fb363a_27316124.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/9d85c280ab99d9eedb36cd4c1759b3bd_41040187.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/68d6b1c459281b7d2c09094239ebbf12_93803467.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/f8cfb7f61b850edcc21b50b4438670dd_12363127.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/5a4601f163f145642297bcecbd689f2f_65394236.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/fc88871cae185489ec79c232cd3bf9a7_44451565.png change filename to text .imagette229530821747280763/ imagette229530821747280763/1747210165_1946576_1358116463_bbafc9ba8322681fc72e4e5efc749a3f_rle_crop_3796709543_0.png.png imagette229530821747280763/1747209806_1937209_1358115602_4c79d949a8d5acdfc84042ca2538c9bf_rle_crop_3796702380_0.png.png imagette229530821747280763/1747210646_1960622_1358121054_aeb68d416f9f3c821836ca54f46fcf82_rle_crop_3796735330_0.png.png imagette229530821747280763/1747210407_1953652_1358120846_75ceac32c8b55a3910b00125e551354b_rle_crop_3796724442_0.png.png imagette229530821747280763/1747210165_1946576_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6_rle_crop_3796709568_0.png.png imagette229530821747280763/1747210165_1946576_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6_rle_crop_3796709564_0.png.png imagette229530821747280763/1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735797_0.png.png imagette229530821747280763/1747210646_1960622_1358121050_455d8be3d2117ef5ff11bcb92836a59b_rle_crop_3796735343_0.png.png imagette229530821747280763/1747210767_2969583_1358120820_cd54183515af910973e7b37bae3d6dd2_rle_crop_3796735792_0.png.png imagette229530821747280763/1747209806_1937209_1358115707_44897b4683f7be5db8ccf36df806461a_rle_crop_3796702341_0.png.png imagette229530821747280763/1747209806_1937209_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f_rle_crop_3796702365_0.png.png imagette229530821747280763/1747209806_1937209_1358115677_4bdb7f84a9ac38fe82562effc54c4a04_rle_crop_3796702347_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/c81abb79d8b7cc72cf00b9685520b5ce_66446265.png imagette229530821747280763 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22953062 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22953085,22953086,22953087,22953088,22953089,22953090,22953091,22953092,22953093,22953094,22953095,22953096?tags=papier,metal,Carton_gris,plastique,Teint_Dans_La_Masse,cartonnette,mal_croppe,kraft,flou,Carton_brun,environnement,autre_refus your option no_mail is active, we will not send the real mail to your client args[1358122047] : ('0.05938318383262952',) no score found for photo 1358122047 We are sending mail with results at report@fotonower.com args[1358121453] : ('0.05938318383262952',) no score found for photo 1358121453 We are sending mail with results at report@fotonower.com args[1358121346] : ('0.05938318383262952',) no score found for photo 1358121346 We are sending mail with results at report@fotonower.com args[1358121342] : ('0.05938318383262952',) no score found for photo 1358121342 We are sending mail with results at report@fotonower.com args[1358121339] : ('0.05938318383262952',) no score found for photo 1358121339 We are sending mail with results at report@fotonower.com args[1358121335] : ('0.05938318383262952',) no score found for photo 1358121335 We are sending mail with results at report@fotonower.com args[1358121332] : ('0.05938318383262952',) no score found for photo 1358121332 We are sending mail with results at report@fotonower.com args[1358121097] : ('0.05938318383262952',) no score found for photo 1358121097 We are sending mail with results at report@fotonower.com args[1358121067] : ('0.05938318383262952',) no score found for photo 1358121067 We are sending mail with results at report@fotonower.com args[1358121058] : ('0.05938318383262952',) no score found for photo 1358121058 We are sending mail with results at report@fotonower.com args[1358121054] : ('0.05938318383262952',) no score found for photo 1358121054 We are sending mail with results at report@fotonower.com args[1358121050] : ('0.05938318383262952',) no score found for photo 1358121050 We are sending mail with results at report@fotonower.com args[1358120846] : ('0.05938318383262952',) no score found for photo 1358120846 We are sending mail with results at report@fotonower.com args[1358120820] : ('0.05938318383262952',) no score found for photo 1358120820 We are sending mail with results at report@fotonower.com args[1358120585] : ('0.05938318383262952',) no score found for photo 1358120585 We are sending mail with results at report@fotonower.com args[1358120551] : ('0.05938318383262952',) no score found for photo 1358120551 We are sending mail with results at report@fotonower.com args[1358120521] : ('0.05938318383262952',) no score found for photo 1358120521 We are sending mail with results at report@fotonower.com args[1358120516] : ('0.05938318383262952',) no score found for photo 1358120516 We are sending mail with results at report@fotonower.com args[1358120512] : ('0.05938318383262952',) no score found for photo 1358120512 We are sending mail with results at report@fotonower.com args[1358120471] : ('0.05938318383262952',) no score found for photo 1358120471 We are sending mail with results at report@fotonower.com args[1358120295] : ('0.05938318383262952',) no score found for photo 1358120295 We are sending mail with results at report@fotonower.com args[1358119180] : ('0.05938318383262952',) no score found for photo 1358119180 We are sending mail with results at report@fotonower.com args[1358118788] : ('0.05938318383262952',) no score found for photo 1358118788 We are sending mail with results at report@fotonower.com args[1358118736] : ('0.05938318383262952',) no score found for photo 1358118736 We are sending mail with results at report@fotonower.com args[1358118705] : ('0.05938318383262952',) no score found for photo 1358118705 We are sending mail with results at report@fotonower.com args[1358118693] : ('0.05938318383262952',) no score found for photo 1358118693 We are sending mail with results at report@fotonower.com args[1358118689] : ('0.05938318383262952',) no score found for photo 1358118689 We are sending mail with results at report@fotonower.com args[1358117961] : ('0.05938318383262952',) no score found for photo 1358117961 We are sending mail with results at report@fotonower.com args[1358116463] : ('0.05938318383262952',) no score found for photo 1358116463 We are sending mail with results at report@fotonower.com args[1358116390] : ('0.05938318383262952',) no score found for photo 1358116390 We are sending mail with results at report@fotonower.com args[1358116032] : ('0.05938318383262952',) no score found for photo 1358116032 We are sending mail with results at report@fotonower.com args[1358116005] : ('0.05938318383262952',) no score found for photo 1358116005 We are sending mail with results at report@fotonower.com args[1358115976] : ('0.05938318383262952',) no score found for photo 1358115976 We are sending mail with results at report@fotonower.com args[1358115951] : ('0.05938318383262952',) no score found for photo 1358115951 We are sending mail with results at report@fotonower.com args[1358115948] : ('0.05938318383262952',) no score found for photo 1358115948 We are sending mail with results at report@fotonower.com args[1358115938] : ('0.05938318383262952',) no score found for photo 1358115938 We are sending mail with results at report@fotonower.com args[1358115707] : ('0.05938318383262952',) no score found for photo 1358115707 We are sending mail with results at report@fotonower.com args[1358115677] : ('0.05938318383262952',) no score found for photo 1358115677 We are sending mail with results at report@fotonower.com args[1358115647] : ('0.05938318383262952',) no score found for photo 1358115647 We are sending mail with results at report@fotonower.com args[1358115602] : ('0.05938318383262952',) no score found for photo 1358115602 We are sending mail with results at report@fotonower.com refus_total : 0.05938318383262952 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=22953062 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_P22953062_15-05-2025_05_46_00.pdf results_Auto_P22953062_15-05-2025_05_46_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.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','22953062','results_Auto_P22953062_15-05-2025_05_46_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.pdf','pdf','','0.42','0.05938318383262952') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22953062]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] map_info['map_portfolio_photo'] : {22953062: [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602]} final : False mtd_id 4302 list_pids : [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] 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, '2857535') ('4302', '22953062', '1358122047', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 40 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', '22953062', '1358122047', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535')] time used for this insertion : 0.41376447677612305 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.536593198776245 time spend to save output : 0.41433215141296387 total time spend for step 4 : 8.950925350189209 step5:split_time_score Thu May 15 05:46:07 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['22953062'] 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 : [('22953062',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22953062) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1358121342: {'path': 'temp/1747280758_1814715_1358121342_ee94d4e71edd2b9bb3e6c8eb41e3b11e.jpg', 'extension': 'jpg'}, 1358121346: {'path': 'temp/1747280758_1814715_1358121346_e2b6cd44e8f638d4b2685daa81cde164.jpg', 'extension': 'jpg'}, 1358121453: {'path': 'temp/1747280758_1814715_1358121453_1a8a1aa33aac395d70725ae6803ddc50.jpg', 'extension': 'jpg'}, 1358122047: {'path': 'temp/1747280758_1814715_1358122047_d2fc4bbc4b80ab41822c12d768618b32.jpg', 'extension': 'jpg'}, 1358115602: {'path': 'temp/1747280758_1814715_1358115602_4c79d949a8d5acdfc84042ca2538c9bf.jpg', 'extension': 'jpg'}, 1358115647: {'path': 'temp/1747280758_1814715_1358115647_e6e4ff231cbefcfefef1fc16acd27b9f.jpg', 'extension': 'jpg'}, 1358115677: {'path': 'temp/1747280758_1814715_1358115677_4bdb7f84a9ac38fe82562effc54c4a04.jpg', 'extension': 'jpg'}, 1358115707: {'path': 'temp/1747280758_1814715_1358115707_44897b4683f7be5db8ccf36df806461a.jpg', 'extension': 'jpg'}, 1358115938: {'path': 'temp/1747280758_1814715_1358115938_4e41611fe031d4f067cf689ec6f41940.jpg', 'extension': 'jpg'}, 1358115948: {'path': 'temp/1747280758_1814715_1358115948_db02ed76aa06fdf9c547eafa77c30a27.jpg', 'extension': 'jpg'}, 1358115951: {'path': 'temp/1747280758_1814715_1358115951_4dbc345061c24dc56af31f730778c3e2.jpg', 'extension': 'jpg'}, 1358115976: {'path': 'temp/1747280758_1814715_1358115976_5a3134b25edd823cbd5f5e89c7bf70c6.jpg', 'extension': 'jpg'}, 1358116005: {'path': 'temp/1747280758_1814715_1358116005_b1fd7d6c37db82ee9980d2eade3bf8a6.jpg', 'extension': 'jpg'}, 1358119180: {'path': 'temp/1747280758_1814715_1358119180_98ec8a39d17bcd69a6e8aabd4c5ceae5.jpg', 'extension': 'jpg'}, 1358120295: {'path': 'temp/1747280758_1814715_1358120295_4f456dc52ab6c6a75a36dfdf23e7a1c6.jpg', 'extension': 'jpg'}, 1358120471: {'path': 'temp/1747280758_1814715_1358120471_0c5c60a6375b5c4ba5677a14f8d1ca5e.jpg', 'extension': 'jpg'}, 1358120512: {'path': 'temp/1747280758_1814715_1358120512_ddd38fb19408f0c2861508752bbd432c.jpg', 'extension': 'jpg'}, 1358120516: {'path': 'temp/1747280758_1814715_1358120516_39212bc23f62933ca43e1fdd7b059fea.jpg', 'extension': 'jpg'}, 1358120521: {'path': 'temp/1747280758_1814715_1358120521_0dab0e3ae6a72030589fc00addd1800d.jpg', 'extension': 'jpg'}, 1358120551: {'path': 'temp/1747280758_1814715_1358120551_60d815c41178f5540fa6b67f3f8839c3.jpg', 'extension': 'jpg'}, 1358120585: {'path': 'temp/1747280758_1814715_1358120585_352ff3c3d85713c3bcb30de6a20802fc.jpg', 'extension': 'jpg'}, 1358120820: {'path': 'temp/1747280758_1814715_1358120820_cd54183515af910973e7b37bae3d6dd2.jpg', 'extension': 'jpg'}, 1358120846: {'path': 'temp/1747280758_1814715_1358120846_75ceac32c8b55a3910b00125e551354b.jpg', 'extension': 'jpg'}, 1358121050: {'path': 'temp/1747280758_1814715_1358121050_455d8be3d2117ef5ff11bcb92836a59b.jpg', 'extension': 'jpg'}, 1358121054: {'path': 'temp/1747280758_1814715_1358121054_aeb68d416f9f3c821836ca54f46fcf82.jpg', 'extension': 'jpg'}, 1358121058: {'path': 'temp/1747280758_1814715_1358121058_229741c3b20620493552b4937af65c6d.jpg', 'extension': 'jpg'}, 1358121067: {'path': 'temp/1747280758_1814715_1358121067_005b3e176d41a1ae60f0ba64a42d5f13.jpg', 'extension': 'jpg'}, 1358121097: {'path': 'temp/1747280758_1814715_1358121097_3ec0dfc6e3398a57d62eeb8d259c17a6.jpg', 'extension': 'jpg'}, 1358121332: {'path': 'temp/1747280758_1814715_1358121332_3c5b32ba77c452e5bf74282756139b22.jpg', 'extension': 'jpg'}, 1358121335: {'path': 'temp/1747280758_1814715_1358121335_4aab319d01c3588f5d43ca4cb5134e85.jpg', 'extension': 'jpg'}, 1358121339: {'path': 'temp/1747280758_1814715_1358121339_06b38272b99ccec23584427074f927a5.jpg', 'extension': 'jpg'}, 1358116032: {'path': 'temp/1747280758_1814715_1358116032_4aeb420c67cf9d607b5133994df7af76.jpg', 'extension': 'jpg'}, 1358116390: {'path': 'temp/1747280758_1814715_1358116390_d073a1cde96c14a6093c5f9b7b5ac101.jpg', 'extension': 'jpg'}, 1358116463: {'path': 'temp/1747280758_1814715_1358116463_bbafc9ba8322681fc72e4e5efc749a3f.jpg', 'extension': 'jpg'}, 1358117961: {'path': 'temp/1747280758_1814715_1358117961_2ed3d49f140733bc162ec9b408204af0.jpg', 'extension': 'jpg'}, 1358118689: {'path': 'temp/1747280758_1814715_1358118689_9786bef6e217bc8b7b3d55f34fca1301.jpg', 'extension': 'jpg'}, 1358118693: {'path': 'temp/1747280758_1814715_1358118693_a953c50c0eae69c586a28d002975244e.jpg', 'extension': 'jpg'}, 1358118705: {'path': 'temp/1747280758_1814715_1358118705_8fd233974c20851692afe29fcc3baf37.jpg', 'extension': 'jpg'}, 1358118736: {'path': 'temp/1747280758_1814715_1358118736_d495da44d7c4cf745cd1a28f12774f32.jpg', 'extension': 'jpg'}, 1358118788: {'path': 'temp/1747280758_1814715_1358118788_5dd68ddf5f29af47b9ba0bcfc29c0555.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 = 22953062; (('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 = 22953062 group by h (('10', 40),) 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=22953062 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 (22953062) 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 (22953062) 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 22953062 Nombre de photos uploadées : 40 / 23040 (0%) 14052025 22953062 Nombre de photos taguées (types de déchets): 0 / 40 (0%) 14052025 22953062 Nombre de photos taguées (volume) : 0 / 40 (0%) [{'photo_id': 1358115707, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/44897b4683f7be5db8ccf36df806461a.jpg', 'username': None, 'uploaded_at': 1747209673, 'text': 'image_14052025_10_00_14_010177m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1358115677, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4bdb7f84a9ac38fe82562effc54c4a04.jpg', 'username': None, 'uploaded_at': 1747209673, 'text': 'image_14052025_10_00_24_010141m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1358115647, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/e6e4ff231cbefcfefef1fc16acd27b9f.jpg', 'username': None, 'uploaded_at': 1747209673, 'text': 'image_14052025_10_00_34_010210m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1358115602, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/14/4c79d949a8d5acdfc84042ca2538c9bf.jpg', 'username': None, 'uploaded_at': 1747209673, 'text': 'image_14052025_10_00_44_010142m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 4.0531158447265625e-06 elapsed_time : order_list_meta_photo_and_scores 1.5020370483398438e-05 ???????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001308441162109375 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22953062, '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.028684377670288086 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_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}}"}, {'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': 2857535, 'mtr_portfolio_id': 22953062, 'created_at': datetime.datetime(2025, 5, 15, 5, 45, 58), 'result': '0.05938318383262952', 'result_long': None, 'result_double': None}] Qualite : 0.05938318383262952 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_15-05-2025_05_46_00.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_15-05-2025_05_46_00.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.05938318383262952, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22953062_15-05-2025_05_46_00.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': 40, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22953062]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] map_info['map_portfolio_photo'] : {22953062: [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602]} final : True mtd_id 4302 list_pids : [1358122047, 1358121453, 1358121346, 1358121342, 1358121339, 1358121335, 1358121332, 1358121097, 1358121067, 1358121058, 1358121054, 1358121050, 1358120846, 1358120820, 1358120585, 1358120551, 1358120521, 1358120516, 1358120512, 1358120471, 1358120295, 1358119180, 1358118788, 1358118736, 1358118705, 1358118693, 1358118689, 1358117961, 1358116463, 1358116390, 1358116032, 1358116005, 1358115976, 1358115951, 1358115948, 1358115938, 1358115707, 1358115677, 1358115647, 1358115602] Looping around the photos to save general results len do output : 1 /22953062Didn'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, '2857535') ('4302', '22953062', '1358122047', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535') ('4302', None, None, None, None, None, None, None, '2857535') ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535') 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', None, '22953062', 'None', None, None, None, None, '2857535'), ('4302', '22953062', '1358122047', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121453', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121346', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121342', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121339', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121335', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121332', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121097', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121067', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121058', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121054', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358121050', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120846', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120820', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120585', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120551', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120521', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120516', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120512', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120471', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358120295', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358119180', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118788', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118736', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118705', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118693', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358118689', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358117961', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116463', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116390', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116032', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358116005', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115976', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115951', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115948', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115938', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115707', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115677', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115647', None, None, None, None, None, '2857535'), ('4302', '22953062', '1358115602', None, None, None, None, None, '2857535')] time used for this insertion : 0.024714231491088867 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.626823425292969 time spend to save output : 0.02499222755432129 total time spend for step 5 : 5.65181565284729 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 (2857535) 3.36user 2.39system 0:18.26elapsed 31%CPU (0avgtext+0avgdata 162692maxresident)k 232inputs+28848outputs (0major+86647minor)pagefaults 0swaps