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 : 3387117 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 (2536661) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2536661) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103345 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2536661'] with mtr_portfolio_ids : ['20103345'] and first list_photo_ids : [] new path : /proc/3387117/ Name: python3 Umask: 0002 State: R (running) Tgid: 3387117 Ngid: 0 Pid: 3387117 PPid: 3387115 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3387117 NSpid: 3387117 NSpgid: 3384894 NSsid: 3384894 VmPeak: 1106836 kB VmSize: 1106836 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98772 kB VmRSS: 98772 kB RssAnon: 59756 kB RssFile: 39016 kB RssShmem: 0 kB VmData: 865588 kB VmStk: 132 kB VmExe: 2640 kB VmLib: 130468 kB VmPTE: 604 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: 54 nonvoluntary_ctxt_switches: 95 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3387117', 'Ngid': '0', 'Pid': '3387117', 'PPid': '3387115', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3387117', 'NSpid': '3387117', 'NSpgid': '3384894', 'NSsid': '3384894', 'VmPeak': '1106836 kB', 'VmSize': '1106836 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98772 kB', 'VmRSS': '98772 kB', 'RssAnon': '59756 kB', 'RssFile': '39016 kB', 'RssShmem': '0 kB', 'VmData': '865588 kB', 'VmStk': '132 kB', 'VmExe': '2640 kB', 'VmLib': '130468 kB', 'VmPTE': '604 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': '54', 'nonvoluntary_ctxt_switches': '95'} ('datou_batch_current', '3387117', '1106836', '0', '1106836', '865588', '98772', b'', 'marlene', '2536661') 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 (20103345) 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 (2536661 ) ) 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 (20103345) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1333234156, 'portfolio_id': 20103345}, {'photo_id': 1333234103, 'portfolio_id': 20103345}, {'photo_id': 1333234099, 'portfolio_id': 20103345}, {'photo_id': 1333234096, 'portfolio_id': 20103345}, {'photo_id': 1333234092, 'portfolio_id': 20103345}, {'photo_id': 1333234089, 'portfolio_id': 20103345}, {'photo_id': 1333234086, 'portfolio_id': 20103345}, {'photo_id': 1333233731, 'portfolio_id': 20103345}, {'photo_id': 1333233727, 'portfolio_id': 20103345}, {'photo_id': 1333233723, 'portfolio_id': 20103345}, {'photo_id': 1333233721, 'portfolio_id': 20103345}, {'photo_id': 1333233717, 'portfolio_id': 20103345}, {'photo_id': 1333233665, 'portfolio_id': 20103345}, {'photo_id': 1333233663, 'portfolio_id': 20103345}, {'photo_id': 1333233661, 'portfolio_id': 20103345}, {'photo_id': 1333233597, 'portfolio_id': 20103345}, {'photo_id': 1333233583, 'portfolio_id': 20103345}, {'photo_id': 1333233568, 'portfolio_id': 20103345}, {'photo_id': 1333233557, 'portfolio_id': 20103345}, {'photo_id': 1333233555, 'portfolio_id': 20103345}, {'photo_id': 1333233548, 'portfolio_id': 20103345}, {'photo_id': 1333233506, 'portfolio_id': 20103345}, {'photo_id': 1333233465, 'portfolio_id': 20103345}, {'photo_id': 1333233388, 'portfolio_id': 20103345}, {'photo_id': 1333233367, 'portfolio_id': 20103345}, {'photo_id': 1333232649, 'portfolio_id': 20103345}, {'photo_id': 1333232647, 'portfolio_id': 20103345}, {'photo_id': 1333232369, 'portfolio_id': 20103345}, {'photo_id': 1333232367, 'portfolio_id': 20103345}, {'photo_id': 1333232353, 'portfolio_id': 20103345}, {'photo_id': 1333232346, 'portfolio_id': 20103345}, {'photo_id': 1333230821, 'portfolio_id': 20103345}, {'photo_id': 1333230817, 'portfolio_id': 20103345}, {'photo_id': 1333230811, 'portfolio_id': 20103345}, {'photo_id': 1333230619, 'portfolio_id': 20103345}] map_portfolio_id_photo_id: {20103345: [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619]} ##### 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.6172695159912109 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Sat Feb 1 05:48:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20103345) 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 : 20103345 get user id for portfolio 20103345 get sub ptf for main ptf 20103345, type 3726 and hashtags ['environnement', 'plastique', 'Teint_Dans_La_Masse', 'autre_refus', 'Carton_brun', 'mal_croppe', 'flou', 'kraft', 'Carton_gris', 'papier', 'metal', '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`=20103345 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','mal_croppe','flou','kraft','Carton_gris','papier','metal','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`=20103345 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','mal_croppe','flou','kraft','Carton_gris','papier','metal','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20103345, 'sub_port_id': 20103364, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821459, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'Carton_gris': {'main_port_id': 20103345, 'sub_port_id': 20103365, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821460, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'metal': {'main_port_id': 20103345, 'sub_port_id': 20103366, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821461, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 20103345, 'sub_port_id': 20103367, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821462, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'Carton_brun': {'main_port_id': 20103345, 'sub_port_id': 20103368, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821463, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'environnement': {'main_port_id': 20103345, 'sub_port_id': 20103369, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821464, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'mal_croppe': {'main_port_id': 20103345, 'sub_port_id': 20103370, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821465, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'flou': {'main_port_id': 20103345, 'sub_port_id': 20103371, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821466, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'cartonnette': {'main_port_id': 20103345, 'sub_port_id': 20103372, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821467, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'autre_refus': {'main_port_id': 20103345, 'sub_port_id': 20103373, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821468, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'kraft': {'main_port_id': 20103345, 'sub_port_id': 20103374, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821469, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}, 'papier': {'main_port_id': 20103345, 'sub_port_id': 20103375, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821470, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 56), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 54, 59)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20103364 , 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=20103345 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 (20103364) result : ((1333232414,), (1333234065,), (1333234066,), (1333234067,), (1333234068,), (1333234077,), (1333234180,), (1333234182,), (1333234352,), (1333234353,), (1333234354,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103365 , 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=20103345 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 (20103365) result : ((1333234070,), (1333234071,), (1333234348,), (1333234658,), (1333234659,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103366 , 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=20103345 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 (20103366) result : ((1333232432,), (1333232433,), (1333233690,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103367 , 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=20103345 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 (20103367) result : ((1333232376,), (1333232377,), (1333232378,), (1333232379,), (1333232380,), (1333232381,), (1333233529,), (1333233677,), (1333233678,), (1333233679,), (1333234056,), (1333234069,), (1333234170,), (1333234171,), (1333234172,), (1333234173,), (1333234174,), (1333234322,), (1333234324,), (1333234326,), (1333234328,), (1333234330,), (1333234552,), (1333234553,), (1333234646,), (1333234647,), (1333234648,), (1333234649,), (1333234650,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103368 , 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=20103345 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 (20103368) result : ((1333232398,), (1333233683,), (1333233686,), (1333234178,), (1333234350,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103369 , 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=20103345 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 (20103369) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103370 , 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=20103345 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 (20103370) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103371 , 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=20103345 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 (20103371) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103372 , 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=20103345 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 (20103372) result : ((1333232385,), (1333233685,), (1333234064,), (1333234661,), (1333234662,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103373 , 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=20103345 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 (20103373) result : ((1333233680,), (1333233681,), (1333233682,), (1333234062,), (1333234063,), (1333234076,), (1333234176,), (1333234343,), (1333234655,), (1333234656,), (1333234657,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103374 , 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=20103345 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 (20103374) result : ((1333233531,), (1333233687,), (1333234072,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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 20103375 , 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=20103345 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 (20103375) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20103345) result : ((1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,)) 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`=20103345 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','mal_croppe','flou','kraft','Carton_gris','papier','metal','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`=20103345 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('environnement','plastique','Teint_Dans_La_Masse','autre_refus','Carton_brun','mal_croppe','flou','kraft','Carton_gris','papier','metal','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'plastique': {'main_port_id': 20103345, 'sub_port_id': 20103376, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821471, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'Carton_gris': {'main_port_id': 20103345, 'sub_port_id': 20103377, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821472, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'metal': {'main_port_id': 20103345, 'sub_port_id': 20103378, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821473, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'Teint_Dans_La_Masse': {'main_port_id': 20103345, 'sub_port_id': 20103379, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821474, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'Carton_brun': {'main_port_id': 20103345, 'sub_port_id': 20103380, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821475, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'environnement': {'main_port_id': 20103345, 'sub_port_id': 20103381, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821476, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'mal_croppe': {'main_port_id': 20103345, 'sub_port_id': 20103382, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821477, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'flou': {'main_port_id': 20103345, 'sub_port_id': 20103383, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821478, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'cartonnette': {'main_port_id': 20103345, 'sub_port_id': 20103384, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821479, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'autre_refus': {'main_port_id': 20103345, 'sub_port_id': 20103385, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821480, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'kraft': {'main_port_id': 20103345, 'sub_port_id': 20103386, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821481, 'last_updated_at': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 7, 55, 1), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}, 'papier': {'main_port_id': 20103345, 'sub_port_id': 20103387, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 12821482, 'last_updated_at': datetime.datetime(2025, 1, 31, 8, 2, 57), 'last_updated_at_desc': datetime.datetime(2025, 1, 31, 8, 2, 57), 'last_updated_at_asc': datetime.datetime(2025, 1, 31, 7, 55, 1)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103376,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103364 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103377,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103365 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103378,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103366 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103379,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103367 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103380,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103368 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103381,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103369 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103382,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103370 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103383,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103371 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103384,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103372 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103385,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103373 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103386,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103374 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20103387,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20103375 lien utilise dans velours : https://www.fotonower.com/velours/20103376,20103377,20103378,20103379,20103380,20103381,20103382,20103383,20103384,20103385,20103386,20103387?tags=plastique,Carton_gris,metal,Teint_Dans_La_Masse,Carton_brun,environnement,mal_croppe,flou,cartonnette,autre_refus,kraft,papier After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20103345]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] map_info['map_portfolio_photo'] : {20103345: [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619]} final : False mtd_id 4302 list_pids : [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] Looping around the photos to save general results len do output : 1 /20103345. 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, '2536661') ('4302', '20103345', '1333234156', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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, '20103345', "{'plastique': 20103364, 'Carton_gris': 20103365, 'metal': 20103366, 'Teint_Dans_La_Masse': 20103367, 'Carton_brun': 20103368, 'environnement': 20103369, 'mal_croppe': 20103370, 'flou': 20103371, 'cartonnette': 20103372, 'autre_refus': 20103373, 'kraft': 20103374, 'papier': 20103375}", None, None, None, None, '2536661'), ('4302', '20103345', '1333234156', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661')] time used for this insertion : 0.13232755661010742 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.4142704010009766 time spend to save output : 0.13281774520874023 total time spend for step 1 : 3.547088146209717 step2:final Sat Feb 1 05:49:03 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 (20103345) 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 20103345 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1333230619,1333230821,1333230817,1333230811,1333232369,1333232367,1333232353,1333232346,1333232649,1333232647,1333233506,1333233465,1333233388,1333233367,1333233597,1333233583,1333233568,1333233557,1333233555,1333233548,1333233665,1333233663,1333233661,1333233731,1333233727,1333233723,1333233721,1333233717,1333234103,1333234099,1333234096,1333234092,1333234089,1333234086,1333234156); 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([20103345]) Inside saveOutput : final : False verbose : True original output for save of step final : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} new output for save of step final : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] map_info['map_portfolio_photo'] : {20103345: [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619]} final : False mtd_id 4302 list_pids : [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] Looping around the photos to save general results len do output : 35 /1333234156.Didn't retrieve data . /1333234103.Didn't retrieve data . /1333234099.Didn't retrieve data . /1333234096.Didn't retrieve data . /1333234092.Didn't retrieve data . /1333234089.Didn't retrieve data . /1333234086.Didn't retrieve data . /1333233731.Didn't retrieve data . /1333233727.Didn't retrieve data . /1333233723.Didn't retrieve data . /1333233721.Didn't retrieve data . /1333233717.Didn't retrieve data . /1333233665.Didn't retrieve data . /1333233663.Didn't retrieve data . /1333233661.Didn't retrieve data . /1333233597.Didn't retrieve data . /1333233583.Didn't retrieve data . /1333233568.Didn't retrieve data . /1333233557.Didn't retrieve data . /1333233555.Didn't retrieve data . /1333233548.Didn't retrieve data . /1333233506.Didn't retrieve data . /1333233465.Didn't retrieve data . /1333233388.Didn't retrieve data . /1333233367.Didn't retrieve data . /1333232649.Didn't retrieve data . /1333232647.Didn't retrieve data . /1333232369.Didn't retrieve data . /1333232367.Didn't retrieve data . /1333232353.Didn't retrieve data . /1333232346.Didn't retrieve data . /1333230821.Didn't retrieve data . /1333230817.Didn't retrieve data . /1333230811.Didn't retrieve data . /1333230619.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, '2536661') ('4302', '20103345', '1333234156', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 105 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', '20103345', '1333234156', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333234103', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333234099', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333234096', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333234092', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333234089', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333234086', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233731', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233727', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233723', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233721', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233717', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233665', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233663', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233661', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233597', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233583', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233568', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233557', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233555', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233548', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233506', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233465', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233388', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333233367', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333232649', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333232647', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333232369', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333232367', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333232353', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333232346', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333230821', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333230817', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333230811', '0.04671255435861283', None, None, None, None, '2536661'), ('4302', '20103345', '1333230619', '0.04671255435861283', None, None, None, None, '2536661')] time used for this insertion : 0.020661354064941406 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06769251823425293 time spend to save output : 0.022151947021484375 total time spend for step 2 : 0.0898444652557373 step3:velours_tree Sat Feb 1 05:49:03 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 : {20103345: [{'plastique': 20103364, 'Carton_gris': 20103365, 'metal': 20103366, 'Teint_Dans_La_Masse': 20103367, 'Carton_brun': 20103368, 'environnement': 20103369, 'mal_croppe': 20103370, 'flou': 20103371, 'cartonnette': 20103372, 'autre_refus': 20103373, 'kraft': 20103374, 'papier': 20103375}]} input_args_next_step : {20103345: ()} output_args : {20103345: [{'plastique': 20103364, 'Carton_gris': 20103365, 'metal': 20103366, 'Teint_Dans_La_Masse': 20103367, 'Carton_brun': 20103368, 'environnement': 20103369, 'mal_croppe': 20103370, 'flou': 20103371, 'cartonnette': 20103372, 'autre_refus': 20103373, 'kraft': 20103374, 'papier': 20103375}]} args : 20103345 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 : ({'plastique': 20103364, 'Carton_gris': 20103365, 'metal': 20103366, 'Teint_Dans_La_Masse': 20103367, 'Carton_brun': 20103368, 'environnement': 20103369, 'mal_croppe': 20103370, 'flou': 20103371, 'cartonnette': 20103372, 'autre_refus': 20103373, 'kraft': 20103374, 'papier': 20103375},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20103345) 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([20103345]) 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.2921736240386963 time spend to save output : 5.4836273193359375e-05 total time spend for step 3 : 0.29222846031188965 step4:send_mail_cod Sat Feb 1 05:49:03 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 : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} input_args_next_step : {1333234156: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234156 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234103 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234099 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234096 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234092 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234089 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333234086 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233731 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233727 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233723 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233721 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233717 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233665 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233663 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233661 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233597 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233583 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233568 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233557 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233555 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233548 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233506 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233465 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233388 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333233367 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333232649 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333232647 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333232369 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333232367 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333232353 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333232346 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333230821 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333230817 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333230811 depend.output_id : 0 input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ()} output_args : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',)} args : 1333230619 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 : {20103345: [{'plastique': 20103364, 'Carton_gris': 20103365, 'metal': 20103366, 'Teint_Dans_La_Masse': 20103367, 'Carton_brun': 20103368, 'environnement': 20103369, 'mal_croppe': 20103370, 'flou': 20103371, 'cartonnette': 20103372, 'autre_refus': 20103373, 'kraft': 20103374, 'papier': 20103375}]} input_args_next_step : {1333234156: ('0.04671255435861283',), 1333234103: ('0.04671255435861283',), 1333234099: ('0.04671255435861283',), 1333234096: ('0.04671255435861283',), 1333234092: ('0.04671255435861283',), 1333234089: ('0.04671255435861283',), 1333234086: ('0.04671255435861283',), 1333233731: ('0.04671255435861283',), 1333233727: ('0.04671255435861283',), 1333233723: ('0.04671255435861283',), 1333233721: ('0.04671255435861283',), 1333233717: ('0.04671255435861283',), 1333233665: ('0.04671255435861283',), 1333233663: ('0.04671255435861283',), 1333233661: ('0.04671255435861283',), 1333233597: ('0.04671255435861283',), 1333233583: ('0.04671255435861283',), 1333233568: ('0.04671255435861283',), 1333233557: ('0.04671255435861283',), 1333233555: ('0.04671255435861283',), 1333233548: ('0.04671255435861283',), 1333233506: ('0.04671255435861283',), 1333233465: ('0.04671255435861283',), 1333233388: ('0.04671255435861283',), 1333233367: ('0.04671255435861283',), 1333232649: ('0.04671255435861283',), 1333232647: ('0.04671255435861283',), 1333232369: ('0.04671255435861283',), 1333232367: ('0.04671255435861283',), 1333232353: ('0.04671255435861283',), 1333232346: ('0.04671255435861283',), 1333230821: ('0.04671255435861283',), 1333230817: ('0.04671255435861283',), 1333230811: ('0.04671255435861283',), 1333230619: ('0.04671255435861283',), 20103345: ()} output_args : {20103345: [{'plastique': 20103364, 'Carton_gris': 20103365, 'metal': 20103366, 'Teint_Dans_La_Masse': 20103367, 'Carton_brun': 20103368, 'environnement': 20103369, 'mal_croppe': 20103370, 'flou': 20103371, 'cartonnette': 20103372, 'autre_refus': 20103373, 'kraft': 20103374, 'papier': 20103375}]} args : 20103345 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 :36, first value : ('0.04671255435861283',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20103345) 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 (1333234156,1333234103,1333234099,1333234096,1333234092,1333234089,1333234086,1333233731,1333233727,1333233723,1333233721,1333233717,1333233665,1333233663,1333233661,1333233597,1333233583,1333233568,1333233557,1333233555,1333233548,1333233506,1333233465,1333233388,1333233367,1333232649,1333232647,1333232369,1333232367,1333232353,1333232346,1333230821,1333230817,1333230811,1333230619) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1333230619 begin to download photo : 1333232647 begin to download photo : 1333233557 begin to download photo : 1333233721 begin to download photo : 1333234099 download finish for photo 1333233721 begin to download photo : 1333233723 download finish for photo 1333230619 begin to download photo : 1333230811 download finish for photo 1333233557 begin to download photo : 1333233568 download finish for photo 1333232647 begin to download photo : 1333232649 download finish for photo 1333234099 begin to download photo : 1333234103 download finish for photo 1333230811 begin to download photo : 1333230817 download finish for photo 1333233723 begin to download photo : 1333233727 download finish for photo 1333234103 begin to download photo : 1333234156 download finish for photo 1333232649 begin to download photo : 1333233367 download finish for photo 1333233568 begin to download photo : 1333233583 download finish for photo 1333233727 begin to download photo : 1333233731 download finish for photo 1333230817 begin to download photo : 1333230821 download finish for photo 1333234156 download finish for photo 1333233367 begin to download photo : 1333233388 download finish for photo 1333233583 begin to download photo : 1333233597 download finish for photo 1333233388 begin to download photo : 1333233465 download finish for photo 1333230821 begin to download photo : 1333232346 download finish for photo 1333233597 begin to download photo : 1333233661 download finish for photo 1333233731 begin to download photo : 1333234086 download finish for photo 1333233465 begin to download photo : 1333233506 download finish for photo 1333232346 begin to download photo : 1333232353 download finish for photo 1333233661 begin to download photo : 1333233663 download finish for photo 1333234086 begin to download photo : 1333234089 download finish for photo 1333233506 begin to download photo : 1333233548 download finish for photo 1333232353 begin to download photo : 1333232367 download finish for photo 1333234089 begin to download photo : 1333234092 download finish for photo 1333233663 begin to download photo : 1333233665 download finish for photo 1333233548 begin to download photo : 1333233555 download finish for photo 1333234092 begin to download photo : 1333234096 download finish for photo 1333233665 begin to download photo : 1333233717 download finish for photo 1333232367 begin to download photo : 1333232369 download finish for photo 1333234096 download finish for photo 1333233717 download finish for photo 1333233555 download finish for photo 1333232369 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 35 ; length of list_pids : 35 ; length of list_args : 35 results_Auto_P20103345_01-02-2025_05_49_04.pdf 20103364 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=20103364 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333232414: '1738306373_1132700_1333230817_a4771eeb2773abf13efa694f0f5ef2f0_rle_crop_3646520539_0.png', 1333234065: '1738306732_1136043_1333233727_f55968b94d7758d2eb2b6e0d6b6af532_rle_crop_3646523281_0.png', 1333234066: '1738306732_1136043_1333233723_26b505f563d527c4b50c39bd4bf31a51_rle_crop_3646523298_0.png', 1333234067: '1738306732_1136043_1333233717_ec6e58de3441359bb9ef101265971977_rle_crop_3646523327_0.png', 1333234068: '1738306732_1136043_1333233717_ec6e58de3441359bb9ef101265971977_rle_crop_3646523324_0.png', 1333234077: '1738306770_1136458_1333233597_805469e7292497793da0a88e59cc0165_rle_crop_3646523443_0.png', 1333234180: '1738306790_1136722_1333233583_e5b73c71d9b7577187b03450f9203284_rle_crop_3646523823_0.png', 1333234182: '1738306790_1136722_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523856_0.png', 1333234352: '1738306858_1151790_1333233583_e5b73c71d9b7577187b03450f9203284_rle_crop_3646523823_0.png', 1333234353: '1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_bib_crop_3646523856_0.jpg', 1333234354: '1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646525389_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/85837688e7176b37b211ca08c6f470cc_78402772.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/37eebdea4007515095313b8a6674e4ec_33912965.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/48a75c016212e591d3b32bcdaa189df2_3226078.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aed0f430be485e6614526e2c3c81e6bf_20822472.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f9c9e9bbbfb8f359275244e72db3dae2_18383233.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bf81929fdb8113949b30ef5b25bb3ce9_69637579.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f26cfcf6a4e7f7cf2483afdf07e5bf1_48991050.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/aad3ae44cae88511893365c155f9c0a9_16466873.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0f26cfcf6a4e7f7cf2483afdf07e5bf1_10469230.png change filename to text .wget -O 10.jpg http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/988102b51e97ee1a00f8586bbd0837d2_40428048.jpg change filename to text .imagette201033641738385344/ imagette201033641738385344/1738306373_1132700_1333230817_a4771eeb2773abf13efa694f0f5ef2f0_rle_crop_3646520539_0.png.png imagette201033641738385344/1738306790_1136722_1333233583_e5b73c71d9b7577187b03450f9203284_rle_crop_3646523823_0.png.png imagette201033641738385344/1738306732_1136043_1333233717_ec6e58de3441359bb9ef101265971977_rle_crop_3646523327_0.png.png imagette201033641738385344/1738306732_1136043_1333233723_26b505f563d527c4b50c39bd4bf31a51_rle_crop_3646523298_0.png.png imagette201033641738385344/1738306770_1136458_1333233597_805469e7292497793da0a88e59cc0165_rle_crop_3646523443_0.png.png imagette201033641738385344/1738306858_1151790_1333233583_e5b73c71d9b7577187b03450f9203284_rle_crop_3646523823_0.png.png imagette201033641738385344/1738306732_1136043_1333233727_f55968b94d7758d2eb2b6e0d6b6af532_rle_crop_3646523281_0.png.png imagette201033641738385344/1738306790_1136722_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523856_0.png.png imagette201033641738385344/1738306732_1136043_1333233717_ec6e58de3441359bb9ef101265971977_rle_crop_3646523324_0.png.png imagette201033641738385344/1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646525389_0.png.png imagette201033641738385344/1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_bib_crop_3646523856_0.jpg.jpg wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c328b0c21d487d92f748e25c546de320_41619659.png imagette201033641738385344 20103366 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=20103366 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333232432: '1738306373_1132700_1333230811_246d062b4c6b361930858279f3dbc063_rle_crop_3646520579_0.png', 1333232433: '1738306373_1132700_1333230811_246d062b4c6b361930858279f3dbc063_rle_crop_3646520576_0.png', 1333233690: '1738306611_1134974_1333233367_82df9805072583e74cdb4e18ce252726_rle_crop_3646522595_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1b68a0a073b5ccdce143ffca395db4a7_43599543.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/3d47c0f0513530f1364debe4030be181_8006692.png change filename to text .imagette201033661738385345/ imagette201033661738385345/1738306611_1134974_1333233367_82df9805072583e74cdb4e18ce252726_rle_crop_3646522595_0.png.png imagette201033661738385345/1738306373_1132700_1333230811_246d062b4c6b361930858279f3dbc063_rle_crop_3646520576_0.png.png imagette201033661738385345/1738306373_1132700_1333230811_246d062b4c6b361930858279f3dbc063_rle_crop_3646520579_0.png.png imagette201033701738385346/ imagette201033711738385346/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1a8010c61a940208c95f998ccf7e059f_75278410.png imagette201033661738385345 20103370 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=20103370 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201033701738385346 20103371 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=20103371 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette201033711738385346 20103372 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=20103372 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333232385: '1738306373_1132700_1333230817_a4771eeb2773abf13efa694f0f5ef2f0_rle_crop_3646520537_0.png', 1333233685: '1738306611_1134974_1333233465_4d518cb103c43f6f2285a35189051903_rle_crop_3646522478_0.png', 1333234064: '1738306732_1136043_1333233723_26b505f563d527c4b50c39bd4bf31a51_rle_crop_3646523293_0.png', 1333234661: '1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544717_0.png', 1333234662: '1738307093_1182591_1333234086_87a2f25296d82308daee2d3e7258dc38_rle_crop_3646544838_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/0edb3a498c9c2808a81b7f0a2500fcc7_98224564.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ab47ee2c45b1c32427b0c26acbbb4bc6_82285621.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b6a8299719224412f277806969ce8f05_56374125.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ae5b473b2809e9af1d7a31a56e618efd_92307010.png change filename to text .imagette201033721738385346/ imagette201033721738385346/1738307093_1182591_1333234086_87a2f25296d82308daee2d3e7258dc38_rle_crop_3646544838_0.png.png imagette201033721738385346/1738306732_1136043_1333233723_26b505f563d527c4b50c39bd4bf31a51_rle_crop_3646523293_0.png.png imagette201033721738385346/1738306611_1134974_1333233465_4d518cb103c43f6f2285a35189051903_rle_crop_3646522478_0.png.png imagette201033721738385346/1738306373_1132700_1333230817_a4771eeb2773abf13efa694f0f5ef2f0_rle_crop_3646520537_0.png.png imagette201033721738385346/1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544717_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/197ea016aca1b29910456446fc6b2e81_9204263.png imagette201033721738385346 20103373 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=20103373 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333233680: '1738306622_1135114_1333233506_357544fbf4fbd8b98a068648088b3597_rle_crop_3646522570_0.png', 1333233681: '1738306622_1135114_1333233506_357544fbf4fbd8b98a068648088b3597_rle_crop_3646522572_0.png', 1333233682: '1738306611_1134974_1333233465_4d518cb103c43f6f2285a35189051903_rle_crop_3646522473_0.png', 1333234062: '1738306732_1136043_1333233721_ba0786a5beac22f984e715548eace7ec_rle_crop_3646523307_0.png', 1333234063: '1738306732_1136043_1333233721_ba0786a5beac22f984e715548eace7ec_rle_crop_3646523310_0.png', 1333234076: '1738306770_1136458_1333233597_805469e7292497793da0a88e59cc0165_rle_crop_3646523441_0.png', 1333234176: '1738306790_1136722_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523842_0.png', 1333234343: '1738306858_1151790_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523842_0.png', 1333234655: '1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544716_0.png', 1333234656: '1738307093_1182591_1333234089_92fb4cdd088b10d5aed2be4017b90ee6_rle_crop_3646544820_0.png', 1333234657: '1738307093_1182591_1333234086_87a2f25296d82308daee2d3e7258dc38_rle_crop_3646544836_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4ee6445c7ab6cc4fd28d4412e069441c_31830112.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/89b503cbfa5a31d8b8fb7278833fc213_69629611.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e9e6bccc8b803313f8fdd0ea9cf62d1b_387834.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/58b5ca6f5fd5d3b7e412551aac00c4b6_65106933.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/f8a54e57c902876dca16dde62c95dafc_67177884.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/dd5495e1f358ae7542f5c3f8914d372b_49325470.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b888b15abce51413abd4657d2f6dc65_78516081.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/8b888b15abce51413abd4657d2f6dc65_9382063.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/fdf063414e3c847fea767b886056e97a_12609984.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1c90093f07d4cdeff35e9a8fe20a39bf_71366524.png change filename to text .imagette201033731738385346/ imagette201033731738385346/1738306858_1151790_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523842_0.png.png imagette201033731738385346/1738306622_1135114_1333233506_357544fbf4fbd8b98a068648088b3597_rle_crop_3646522572_0.png.png imagette201033731738385346/1738306611_1134974_1333233465_4d518cb103c43f6f2285a35189051903_rle_crop_3646522473_0.png.png imagette201033731738385346/1738306622_1135114_1333233506_357544fbf4fbd8b98a068648088b3597_rle_crop_3646522570_0.png.png imagette201033731738385346/1738306770_1136458_1333233597_805469e7292497793da0a88e59cc0165_rle_crop_3646523441_0.png.png imagette201033731738385346/1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544716_0.png.png imagette201033731738385346/1738306732_1136043_1333233721_ba0786a5beac22f984e715548eace7ec_rle_crop_3646523310_0.png.png imagette201033731738385346/1738307093_1182591_1333234086_87a2f25296d82308daee2d3e7258dc38_rle_crop_3646544836_0.png.png imagette201033731738385346/1738306732_1136043_1333233721_ba0786a5beac22f984e715548eace7ec_rle_crop_3646523307_0.png.png imagette201033731738385346/1738306790_1136722_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523842_0.png.png imagette201033731738385346/1738307093_1182591_1333234089_92fb4cdd088b10d5aed2be4017b90ee6_rle_crop_3646544820_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/b2b57fa86f746f5b67a3e2a00d62883d_49090357.png imagette201033731738385346 20103374 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=20103374 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333233531: '1738306513_1133927_1333232346_073fc4c4b5fb182c3987f9878cb76111_rle_crop_3646521349_0.png', 1333233687: '1738306611_1134974_1333233367_82df9805072583e74cdb4e18ce252726_rle_crop_3646522596_0.png', 1333234072: '1738306750_1136206_1333233731_b996326e1569a6325d4a8b4c3042f6ee_rle_crop_3646523342_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/78d4c1a884ff943a7b97cb5757b49f2c_36440002.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/4de2532d638ca120a72bdc969dc124aa_21960100.png change filename to text .imagette201033741738385347/ imagette201033741738385347/1738306611_1134974_1333233367_82df9805072583e74cdb4e18ce252726_rle_crop_3646522596_0.png.png imagette201033741738385347/1738306750_1136206_1333233731_b996326e1569a6325d4a8b4c3042f6ee_rle_crop_3646523342_0.png.png imagette201033741738385347/1738306513_1133927_1333232346_073fc4c4b5fb182c3987f9878cb76111_rle_crop_3646521349_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/311e0232631289bff5e18af6dc6dd961_60011298.png imagette201033741738385347 20103365 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=20103365 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333234070: '1738306750_1136206_1333233731_b996326e1569a6325d4a8b4c3042f6ee_rle_crop_3646523340_0.png', 1333234071: '1738306750_1136206_1333233731_b996326e1569a6325d4a8b4c3042f6ee_rle_crop_3646523337_0.png', 1333234348: '1738306858_1151790_1333233583_e5b73c71d9b7577187b03450f9203284_rle_crop_3646525298_0.png', 1333234658: '1738307093_1182591_1333234099_edeb6b2a1ed6b6afc07df6351325b86c_rle_crop_3646544702_0.png', 1333234659: '1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544724_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/d3759a377d48daccdaa0c03daa14bf88_25184838.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/1d08fbacc547297d1712a69f8f441cf1_18002453.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/220710c3ff2be33a981e2490bef0470e_21687172.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af909748e82315d46ea702afaccfac2a_88744593.png change filename to text .imagette201033651738385348/ imagette201033651738385348/1738306750_1136206_1333233731_b996326e1569a6325d4a8b4c3042f6ee_rle_crop_3646523340_0.png.png imagette201033651738385348/1738307093_1182591_1333234099_edeb6b2a1ed6b6afc07df6351325b86c_rle_crop_3646544702_0.png.png imagette201033651738385348/1738306750_1136206_1333233731_b996326e1569a6325d4a8b4c3042f6ee_rle_crop_3646523337_0.png.png imagette201033651738385348/1738306858_1151790_1333233583_e5b73c71d9b7577187b03450f9203284_rle_crop_3646525298_0.png.png imagette201033651738385348/1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544724_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/ca7253f7dc3d6023c9650da4967fe0ff_85189794.png imagette201033651738385348 20103367 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=20103367 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333234172: '1738306790_1136722_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523841_0.png', 1333234650: '1738307093_1182591_1333234086_87a2f25296d82308daee2d3e7258dc38_rle_crop_3646544845_0.png', 1333234649: '1738307093_1182591_1333234089_92fb4cdd088b10d5aed2be4017b90ee6_rle_crop_3646544822_0.png', 1333234648: '1738307093_1182591_1333234089_92fb4cdd088b10d5aed2be4017b90ee6_rle_crop_3646544821_0.png', 1333234647: '1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544722_0.png', 1333234646: '1738307093_1182591_1333234099_edeb6b2a1ed6b6afc07df6351325b86c_rle_crop_3646544709_0.png', 1333234553: '1738307062_1182048_1333234103_aece4fe54ce347967515800b8481ec76_rle_crop_3646544021_0.png', 1333234552: '1738307062_1182048_1333234103_aece4fe54ce347967515800b8481ec76_rle_crop_3646544020_0.png', 1333234330: '1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523854_0.png', 1333234328: '1738306858_1151790_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523844_0.png', 1333234326: '1738306858_1151790_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523841_0.png', 1333234324: '1738306858_1151790_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523831_0.png', 1333234322: '1738306858_1151790_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523833_0.png', 1333234174: '1738306790_1136722_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523854_0.png', 1333234173: '1738306790_1136722_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523844_0.png', 1333232376: '1738306373_1132700_1333230817_a4771eeb2773abf13efa694f0f5ef2f0_rle_crop_3646520543_0.png', 1333234171: '1738306790_1136722_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523831_0.png', 1333234170: '1738306790_1136722_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523833_0.png', 1333234069: '1738306750_1136206_1333233663_065fdaacb7402fb6f3fd249f15068e46_rle_crop_3646523359_0.png', 1333234056: '1738306732_1136043_1333233717_ec6e58de3441359bb9ef101265971977_rle_crop_3646523331_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2bcb814bc5f27caeca2f292f136eec6c_34613095.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/e981e084b48ca54ef05977727a85a566_92543369.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c71b2655b4c399f69ffa0d93ca25ca9f_72213769.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/33a3f254a2fbf1965edb62cec93c5800_36520047.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/49bf389d653671bda769938a83fd3aac_58360914.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/26b8514b223890ce21f8d55ede6c82dc_78427047.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/484317ad2752c0b882d18b06798ce1c4_29374548.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/97953290a8f634538af6de466982d8de_97622648.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bdf15c51b41a5547053043af74d1712c_16959856.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a3df6b635b8d24259bc447edac1904a_49654471.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2bcb814bc5f27caeca2f292f136eec6c_6424866.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7b36992ca46c8066875ddb2c8e0bdbd6_68672354.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01b4205ea6ca01fc460af78d1f237271_29950378.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bdf15c51b41a5547053043af74d1712c_18268919.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/2a3df6b635b8d24259bc447edac1904a_64569246.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/58d1024390320090a032b7c82a107a60_458782.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/7b36992ca46c8066875ddb2c8e0bdbd6_32684295.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/01b4205ea6ca01fc460af78d1f237271_63754219.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/bbe8d8db5f05fcd02f82bff0bbdb1e99_51833329.png change filename to text .imagette201033671738385348/ imagette201033671738385348/1738306858_1151790_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523831_0.png.png imagette201033671738385348/1738306790_1136722_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523841_0.png.png imagette201033671738385348/1738307062_1182048_1333234103_aece4fe54ce347967515800b8481ec76_rle_crop_3646544021_0.png.png imagette201033671738385348/1738307093_1182591_1333234089_92fb4cdd088b10d5aed2be4017b90ee6_rle_crop_3646544822_0.png.png imagette201033671738385348/1738306750_1136206_1333233663_065fdaacb7402fb6f3fd249f15068e46_rle_crop_3646523359_0.png.png imagette201033671738385348/1738307093_1182591_1333234086_87a2f25296d82308daee2d3e7258dc38_rle_crop_3646544845_0.png.png imagette201033671738385348/1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523854_0.png.png imagette201033671738385348/1738307093_1182591_1333234096_3173b7a9a74e30bd50c119b11c703682_rle_crop_3646544722_0.png.png imagette201033671738385348/1738306790_1136722_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523854_0.png.png imagette201033671738385348/1738307093_1182591_1333234089_92fb4cdd088b10d5aed2be4017b90ee6_rle_crop_3646544821_0.png.png imagette201033671738385348/1738306858_1151790_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523833_0.png.png imagette201033671738385348/1738307093_1182591_1333234099_edeb6b2a1ed6b6afc07df6351325b86c_rle_crop_3646544709_0.png.png imagette201033671738385348/1738306732_1136043_1333233717_ec6e58de3441359bb9ef101265971977_rle_crop_3646523331_0.png.png imagette201033671738385348/1738306790_1136722_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523844_0.png.png imagette201033671738385348/1738306858_1151790_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523844_0.png.png imagette201033671738385348/1738307062_1182048_1333234103_aece4fe54ce347967515800b8481ec76_rle_crop_3646544020_0.png.png imagette201033671738385348/1738306858_1151790_1333233557_c220c3072b55f681853ff3e614970d26_rle_crop_3646523841_0.png.png imagette201033671738385348/1738306373_1132700_1333230817_a4771eeb2773abf13efa694f0f5ef2f0_rle_crop_3646520543_0.png.png imagette201033671738385348/1738306790_1136722_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523833_0.png.png imagette201033671738385348/1738306790_1136722_1333233568_9c37a4bf2ce8746e5b3b11bef1024802_rle_crop_3646523831_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c1b14ccc80050ce73bde740122321a1e_83166552.png imagette201033671738385348 20103368 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=20103368 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1333232398: '1738306373_1132700_1333230811_246d062b4c6b361930858279f3dbc063_rle_crop_3646520580_0.png', 1333233683: '1738306622_1135114_1333233506_357544fbf4fbd8b98a068648088b3597_rle_crop_3646522574_0.png', 1333233686: '1738306611_1134974_1333233465_4d518cb103c43f6f2285a35189051903_rle_crop_3646522480_0.png', 1333234178: '1738306790_1136722_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523855_0.png', 1333234350: '1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523855_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/af9f0f8d76e769f55edd3acf6078fb19_76955037.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/569e0a27d8516c19eefb28e54bc78eff_76476374.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/60e668c00b401fdb46f58748e9d3d190_50217014.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a2a4eb035a0aa6563ec54f9efd9d16d_672877.png change filename to text .imagette201033681738385350/ imagette201033681738385350/1738306858_1151790_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523855_0.png.png imagette201033681738385350/1738306611_1134974_1333233465_4d518cb103c43f6f2285a35189051903_rle_crop_3646522480_0.png.png imagette201033681738385350/1738306622_1135114_1333233506_357544fbf4fbd8b98a068648088b3597_rle_crop_3646522574_0.png.png imagette201033681738385350/1738306373_1132700_1333230811_246d062b4c6b361930858279f3dbc063_rle_crop_3646520580_0.png.png imagette201033681738385350/1738306790_1136722_1333233555_235df5d953234bb2e935a06e1c23c873_rle_crop_3646523855_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/6a2a4eb035a0aa6563ec54f9efd9d16d_20691448.png imagette201033681738385350 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20103345 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20103376,20103377,20103378,20103379,20103380,20103381,20103382,20103383,20103384,20103385,20103386,20103387?tags=plastique,Carton_gris,metal,Teint_Dans_La_Masse,Carton_brun,environnement,mal_croppe,flou,cartonnette,autre_refus,kraft,papier your option no_mail is active, we will not send the real mail to your client args[1333234156] : ('0.04671255435861283',) no score found for photo 1333234156 We are sending mail with results at report@fotonower.com args[1333234103] : ('0.04671255435861283',) no score found for photo 1333234103 We are sending mail with results at report@fotonower.com args[1333234099] : ('0.04671255435861283',) no score found for photo 1333234099 We are sending mail with results at report@fotonower.com args[1333234096] : ('0.04671255435861283',) no score found for photo 1333234096 We are sending mail with results at report@fotonower.com args[1333234092] : ('0.04671255435861283',) no score found for photo 1333234092 We are sending mail with results at report@fotonower.com args[1333234089] : ('0.04671255435861283',) no score found for photo 1333234089 We are sending mail with results at report@fotonower.com args[1333234086] : ('0.04671255435861283',) no score found for photo 1333234086 We are sending mail with results at report@fotonower.com args[1333233731] : ('0.04671255435861283',) no score found for photo 1333233731 We are sending mail with results at report@fotonower.com args[1333233727] : ('0.04671255435861283',) no score found for photo 1333233727 We are sending mail with results at report@fotonower.com args[1333233723] : ('0.04671255435861283',) no score found for photo 1333233723 We are sending mail with results at report@fotonower.com args[1333233721] : ('0.04671255435861283',) no score found for photo 1333233721 We are sending mail with results at report@fotonower.com args[1333233717] : ('0.04671255435861283',) no score found for photo 1333233717 We are sending mail with results at report@fotonower.com args[1333233665] : ('0.04671255435861283',) no score found for photo 1333233665 We are sending mail with results at report@fotonower.com args[1333233663] : ('0.04671255435861283',) no score found for photo 1333233663 We are sending mail with results at report@fotonower.com args[1333233661] : ('0.04671255435861283',) no score found for photo 1333233661 We are sending mail with results at report@fotonower.com args[1333233597] : ('0.04671255435861283',) no score found for photo 1333233597 We are sending mail with results at report@fotonower.com args[1333233583] : ('0.04671255435861283',) no score found for photo 1333233583 We are sending mail with results at report@fotonower.com args[1333233568] : ('0.04671255435861283',) no score found for photo 1333233568 We are sending mail with results at report@fotonower.com args[1333233557] : ('0.04671255435861283',) no score found for photo 1333233557 We are sending mail with results at report@fotonower.com args[1333233555] : ('0.04671255435861283',) no score found for photo 1333233555 We are sending mail with results at report@fotonower.com args[1333233548] : ('0.04671255435861283',) no score found for photo 1333233548 We are sending mail with results at report@fotonower.com args[1333233506] : ('0.04671255435861283',) no score found for photo 1333233506 We are sending mail with results at report@fotonower.com args[1333233465] : ('0.04671255435861283',) no score found for photo 1333233465 We are sending mail with results at report@fotonower.com args[1333233388] : ('0.04671255435861283',) no score found for photo 1333233388 We are sending mail with results at report@fotonower.com args[1333233367] : ('0.04671255435861283',) no score found for photo 1333233367 We are sending mail with results at report@fotonower.com args[1333232649] : ('0.04671255435861283',) no score found for photo 1333232649 We are sending mail with results at report@fotonower.com args[1333232647] : ('0.04671255435861283',) no score found for photo 1333232647 We are sending mail with results at report@fotonower.com args[1333232369] : ('0.04671255435861283',) no score found for photo 1333232369 We are sending mail with results at report@fotonower.com args[1333232367] : ('0.04671255435861283',) no score found for photo 1333232367 We are sending mail with results at report@fotonower.com args[1333232353] : ('0.04671255435861283',) no score found for photo 1333232353 We are sending mail with results at report@fotonower.com args[1333232346] : ('0.04671255435861283',) no score found for photo 1333232346 We are sending mail with results at report@fotonower.com args[1333230821] : ('0.04671255435861283',) no score found for photo 1333230821 We are sending mail with results at report@fotonower.com args[1333230817] : ('0.04671255435861283',) no score found for photo 1333230817 We are sending mail with results at report@fotonower.com args[1333230811] : ('0.04671255435861283',) no score found for photo 1333230811 We are sending mail with results at report@fotonower.com args[1333230619] : ('0.04671255435861283',) no score found for photo 1333230619 We are sending mail with results at report@fotonower.com refus_total : 0.04671255435861283 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=20103345 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_P20103345_01-02-2025_05_49_04.pdf results_Auto_P20103345_01-02-2025_05_49_04.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.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','20103345','results_Auto_P20103345_01-02-2025_05_49_04.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf','pdf','','0.43','0.04671255435861283') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20103345]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] map_info['map_portfolio_photo'] : {20103345: [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619]} final : False mtd_id 4302 list_pids : [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] 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, '2536661') ('4302', '20103345', '1333234156', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 35 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', '20103345', '1333234156', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661')] time used for this insertion : 0.029273033142089844 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.736578226089478 time spend to save output : 0.25202059745788574 total time spend for step 4 : 9.988598823547363 step5:split_time_score Sat Feb 1 05:49:13 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 : ['20103345'] 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 : [('20103345',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20103345) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1333234099: {'path': 'temp/1738385343_3387117_1333234099_edeb6b2a1ed6b6afc07df6351325b86c.jpg', 'extension': 'jpg'}, 1333234103: {'path': 'temp/1738385343_3387117_1333234103_aece4fe54ce347967515800b8481ec76.jpg', 'extension': 'jpg'}, 1333234156: {'path': 'temp/1738385343_3387117_1333234156_03623d3a484853d6ce14b1830dd8af5e.jpg', 'extension': 'jpg'}, 1333233721: {'path': 'temp/1738385343_3387117_1333233721_ba0786a5beac22f984e715548eace7ec.jpg', 'extension': 'jpg'}, 1333233723: {'path': 'temp/1738385343_3387117_1333233723_26b505f563d527c4b50c39bd4bf31a51.jpg', 'extension': 'jpg'}, 1333233727: {'path': 'temp/1738385343_3387117_1333233727_f55968b94d7758d2eb2b6e0d6b6af532.jpg', 'extension': 'jpg'}, 1333233731: {'path': 'temp/1738385343_3387117_1333233731_b996326e1569a6325d4a8b4c3042f6ee.jpg', 'extension': 'jpg'}, 1333234086: {'path': 'temp/1738385343_3387117_1333234086_87a2f25296d82308daee2d3e7258dc38.jpg', 'extension': 'jpg'}, 1333234089: {'path': 'temp/1738385343_3387117_1333234089_92fb4cdd088b10d5aed2be4017b90ee6.jpg', 'extension': 'jpg'}, 1333234092: {'path': 'temp/1738385343_3387117_1333234092_8e2745a49a9b8a9a6952f0ab7c04f848.jpg', 'extension': 'jpg'}, 1333234096: {'path': 'temp/1738385343_3387117_1333234096_3173b7a9a74e30bd50c119b11c703682.jpg', 'extension': 'jpg'}, 1333233557: {'path': 'temp/1738385343_3387117_1333233557_c220c3072b55f681853ff3e614970d26.jpg', 'extension': 'jpg'}, 1333233568: {'path': 'temp/1738385343_3387117_1333233568_9c37a4bf2ce8746e5b3b11bef1024802.jpg', 'extension': 'jpg'}, 1333233583: {'path': 'temp/1738385343_3387117_1333233583_e5b73c71d9b7577187b03450f9203284.jpg', 'extension': 'jpg'}, 1333233597: {'path': 'temp/1738385343_3387117_1333233597_805469e7292497793da0a88e59cc0165.jpg', 'extension': 'jpg'}, 1333233661: {'path': 'temp/1738385343_3387117_1333233661_f8b8351ad933cd0cac3f9c6f9995fdad.jpg', 'extension': 'jpg'}, 1333233663: {'path': 'temp/1738385343_3387117_1333233663_065fdaacb7402fb6f3fd249f15068e46.jpg', 'extension': 'jpg'}, 1333233665: {'path': 'temp/1738385343_3387117_1333233665_cce31e7350bc5e61dea1b4edfa4f227f.jpg', 'extension': 'jpg'}, 1333233717: {'path': 'temp/1738385343_3387117_1333233717_ec6e58de3441359bb9ef101265971977.jpg', 'extension': 'jpg'}, 1333232647: {'path': 'temp/1738385343_3387117_1333232647_e335b496329d7ca9a61052f3d363bc9c.jpg', 'extension': 'jpg'}, 1333232649: {'path': 'temp/1738385343_3387117_1333232649_bd474b1ef75338386525954554ab8fc5.jpg', 'extension': 'jpg'}, 1333233367: {'path': 'temp/1738385343_3387117_1333233367_82df9805072583e74cdb4e18ce252726.jpg', 'extension': 'jpg'}, 1333233388: {'path': 'temp/1738385343_3387117_1333233388_c13a765b6b64c3ea592e0a83a4b0c468.jpg', 'extension': 'jpg'}, 1333233465: {'path': 'temp/1738385343_3387117_1333233465_4d518cb103c43f6f2285a35189051903.jpg', 'extension': 'jpg'}, 1333233506: {'path': 'temp/1738385343_3387117_1333233506_357544fbf4fbd8b98a068648088b3597.jpg', 'extension': 'jpg'}, 1333233548: {'path': 'temp/1738385343_3387117_1333233548_a6b3c5b77bdc3b6f88d3d71ad5d4e9b5.jpg', 'extension': 'jpg'}, 1333233555: {'path': 'temp/1738385343_3387117_1333233555_235df5d953234bb2e935a06e1c23c873.jpg', 'extension': 'jpg'}, 1333230619: {'path': 'temp/1738385343_3387117_1333230619_735f9edbb3046e44b259c5ca15b7d66a.jpg', 'extension': 'jpg'}, 1333230811: {'path': 'temp/1738385343_3387117_1333230811_246d062b4c6b361930858279f3dbc063.jpg', 'extension': 'jpg'}, 1333230817: {'path': 'temp/1738385343_3387117_1333230817_a4771eeb2773abf13efa694f0f5ef2f0.jpg', 'extension': 'jpg'}, 1333230821: {'path': 'temp/1738385343_3387117_1333230821_c510019ffa8d1b94bfa790aa00ec6116.jpg', 'extension': 'jpg'}, 1333232346: {'path': 'temp/1738385343_3387117_1333232346_073fc4c4b5fb182c3987f9878cb76111.jpg', 'extension': 'jpg'}, 1333232353: {'path': 'temp/1738385343_3387117_1333232353_71ca2d6a3d50c9f6c4043b347f099d76.jpg', 'extension': 'jpg'}, 1333232367: {'path': 'temp/1738385343_3387117_1333232367_b513604d0798239a4cee82199548cd91.jpg', 'extension': 'jpg'}, 1333232369: {'path': 'temp/1738385343_3387117_1333232369_afeb98a2fdf17ef6b0bd43b388611b8a.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 = 20103345; (('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 = 20103345 group by h (('07', 35),) 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=20103345 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 (20103345) 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 (20103345) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 31012025 20103345 Nombre de photos uploadées : 35 / 23040 (0%) 31012025 20103345 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 31012025 20103345 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1333230619, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/735f9edbb3046e44b259c5ca15b7d66a.jpg', 'username': None, 'uploaded_at': 1738306027, 'text': 'image_31012025_07_45_24_9126.jpg'}, {'photo_id': 1333230821, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/c510019ffa8d1b94bfa790aa00ec6116.jpg', 'username': None, 'uploaded_at': 1738306267, 'text': 'image_31012025_07_46_04_10156.jpg'}, {'photo_id': 1333230817, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/a4771eeb2773abf13efa694f0f5ef2f0.jpg', 'username': None, 'uploaded_at': 1738306267, 'text': 'image_31012025_07_50_14_010157m0.jpg 1e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}, {'photo_id': 1333230811, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/1/31/246d062b4c6b361930858279f3dbc063.jpg', 'username': None, 'uploaded_at': 1738306267, 'text': 'image_31012025_07_50_44_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.430511474609375e-06 elapsed_time : order_list_meta_photo_and_scores 5.0067901611328125e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016701221466064453 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20103345, '2025-01-31' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1567726,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02523040771484375 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= 1567726 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127938, 'dashboard_result_id': 8643261, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127978, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127939, 'dashboard_result_id': 8643262, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20127991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128002, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127940, 'dashboard_result_id': 8643263, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20128015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20128017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20128018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20128019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20128020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20128022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20128023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20128025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20128026, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20127941, 'dashboard_result_id': 8643264, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127953, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090835, 'dashboard_result_id': 8643265, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090957, 'dashboard_result_id': 8643266, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20090959, 'dashboard_result_id': 8643267, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091190, 'dashboard_result_id': 8643268, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091230, 'dashboard_result_id': 8643269, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20091819, 'dashboard_result_id': 8643270, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20092585, 'dashboard_result_id': 8643271, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20093325, 'dashboard_result_id': 8643272, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20093996, 'dashboard_result_id': 8643273, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20094429, 'dashboard_result_id': 8643274, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095035, 'dashboard_result_id': 8643275, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095545, 'dashboard_result_id': 8643276, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20095959, 'dashboard_result_id': 8643277, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20097156, 'dashboard_result_id': 8643278, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20097481, 'dashboard_result_id': 8643279, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20098077, 'dashboard_result_id': 8643280, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20098681, 'dashboard_result_id': 8643281, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20099158, 'dashboard_result_id': 8643282, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20100088, 'dashboard_result_id': 8643283, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20100892, 'dashboard_result_id': 8643284, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20101316, 'dashboard_result_id': 8643285, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20102361, 'dashboard_result_id': 8643286, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20102932, 'dashboard_result_id': 8643287, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20103345, 'dashboard_result_id': 8643288, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_31-01-2025_08_02_57.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20103727, 'dashboard_result_id': 8643289, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20104620, 'dashboard_result_id': 8643290, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20104890, 'dashboard_result_id': 8643291, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20105217, 'dashboard_result_id': 8643292, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20106746, 'dashboard_result_id': 8643293, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20107484, 'dashboard_result_id': 8643294, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20108354, 'dashboard_result_id': 8643295, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20108777, 'dashboard_result_id': 8643296, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20109367, 'dashboard_result_id': 8643297, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20109995, 'dashboard_result_id': 8643298, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20110720, 'dashboard_result_id': 8643299, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20111560, 'dashboard_result_id': 8643300, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20112623, 'dashboard_result_id': 8643301, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20113116, 'dashboard_result_id': 8643302, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20113571, 'dashboard_result_id': 8643303, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20121430, 'dashboard_result_id': 8643304, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20121826, 'dashboard_result_id': 8643305, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20122144, 'dashboard_result_id': 8643306, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20122775, 'dashboard_result_id': 8643307, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20123568, 'dashboard_result_id': 8643308, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20124284, 'dashboard_result_id': 8643309, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20124827, 'dashboard_result_id': 8643310, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20125220, 'dashboard_result_id': 8643311, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135429, 'dashboard_result_id': 8643312, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf'}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135430, 'dashboard_result_id': 8643313, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf'}"}, {'dashboat_entry_day': 1567726, 'dashboard_run_id': 1578330, 'mtr_portfolio_id': 20135431, 'dashboard_result_id': 8643314, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf'}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 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 = 20127938 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 = 20127938 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127938 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 = 20127938 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 = 20127938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127938 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127938_01-02-2025_05_34_35.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127967, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127971, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127972, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127973, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127974, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127976, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127977, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127978, 'pht': 3726}}" where mtr_portfolio_id = 20127938 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 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 = 20127939 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 = 20127939 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127939 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 = 20127939 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 = 20127939 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127939 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127939_01-02-2025_05_35_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20127991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127992, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127993, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127994, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127995, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127999, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128001, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128002, 'pht': 3726}}" where mtr_portfolio_id = 20127939 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 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 = 20127940 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 = 20127940 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127940 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 = 20127940 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 = 20127940 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127940 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127940_01-02-2025_05_36_05.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20128015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20128016, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20128017, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20128018, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20128019, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20128020, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20128021, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20128022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20128023, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20128024, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20128025, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20128026, 'pht': 3726}}" where mtr_portfolio_id = 20127940 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 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 = 20127941 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 = 20127941 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20127941 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 = 20127941 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 = 20127941 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20127941 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20127941_01-02-2025_05_37_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20127942, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20127943, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20127944, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20127945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20127946, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20127947, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20127948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20127949, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20127950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20127951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20127952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20127953, 'pht': 3726}}" where mtr_portfolio_id = 20127941 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090835 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536638, 'mtr_portfolio_id': 20090835, 'created_at': datetime.datetime(2025, 2, 1, 5, 37, 28), 'result': '0.04907240156183414', 'result_long': None, 'result_double': None}] Qualite : 0.04907240156183414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090835 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090835 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}" where mtr_portfolio_id = 20090835 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090835 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643265, 0.04907240156183414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090835_01-02-2025_05_37_31.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20090838, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090840, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090841, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090842, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090845, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090847, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090849, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090957 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536639, 'mtr_portfolio_id': 20090957, 'created_at': datetime.datetime(2025, 2, 1, 5, 37, 58), 'result': '0.04848081861930445', 'result_long': None, 'result_double': None}] Qualite : 0.04848081861930445 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}" where mtr_portfolio_id = 20090957 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643266, 0.04848081861930445, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090957_01-02-2025_05_38_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091039, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091040, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091041, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091043, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091044, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091045, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091048, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091050, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20090959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536640, 'mtr_portfolio_id': 20090959, 'created_at': datetime.datetime(2025, 2, 1, 5, 38, 35), 'result': '0.040585206311703974', 'result_long': None, 'result_double': None}] Qualite : 0.040585206311703974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20090959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20090959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}" where mtr_portfolio_id = 20090959 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20090959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643267, 0.040585206311703974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20090959_01-02-2025_05_38_38.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20090965, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20090966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20090967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20090968, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20090969, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20090970, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20090971, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20090972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20090973, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20090974, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20090975, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20090976, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091190 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536641, 'mtr_portfolio_id': 20091190, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 3), 'result': '0.04194535389228911', 'result_long': None, 'result_double': None}] Qualite : 0.04194535389228911 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091190 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091190 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}" where mtr_portfolio_id = 20091190 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091190 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643268, 0.04194535389228911, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091190_01-02-2025_05_39_06.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20091199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091200, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091201, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091204, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091205, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091209, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091210, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091230 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536642, 'mtr_portfolio_id': 20091230, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 29), 'result': '0.048625288149661126', 'result_long': None, 'result_double': None}] Qualite : 0.048625288149661126 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}" where mtr_portfolio_id = 20091230 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643269, 0.048625288149661126, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091230_01-02-2025_05_39_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091247, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091248, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091249, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091250, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091252, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091254, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091255, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091256, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091257, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20091819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536643, 'mtr_portfolio_id': 20091819, 'created_at': datetime.datetime(2025, 2, 1, 5, 39, 58), 'result': '0.05818706516452907', 'result_long': None, 'result_double': None}] Qualite : 0.05818706516452907 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20091819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20091819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}" where mtr_portfolio_id = 20091819 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20091819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643270, 0.05818706516452907, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20091819_01-02-2025_05_40_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20091827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20091828, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20091829, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20091830, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20091831, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20091832, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20091833, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20091834, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20091835, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20091836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20091837, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20091838, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20092585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536644, 'mtr_portfolio_id': 20092585, 'created_at': datetime.datetime(2025, 2, 1, 5, 40, 30), 'result': '0.03524968172107631', 'result_long': None, 'result_double': None}] Qualite : 0.03524968172107631 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20092585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20092585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}" where mtr_portfolio_id = 20092585 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20092585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643271, 0.03524968172107631, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20092585_01-02-2025_05_40_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20092618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20092619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20092620, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20092621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20092622, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20092623, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20092624, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20092625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20092626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20092627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20092628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20092629, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20093325 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536645, 'mtr_portfolio_id': 20093325, 'created_at': datetime.datetime(2025, 2, 1, 5, 41, 2), 'result': '0.043027941387607946', 'result_long': None, 'result_double': None}] Qualite : 0.043027941387607946 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093325 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093325 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}" where mtr_portfolio_id = 20093325 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20093325 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643272, 0.043027941387607946, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093325_01-02-2025_05_41_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20093334, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093335, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20093336, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20093337, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20093338, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20093339, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20093340, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093341, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20093342, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20093343, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20093344, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093345, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20093996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536646, 'mtr_portfolio_id': 20093996, 'created_at': datetime.datetime(2025, 2, 1, 5, 41, 34), 'result': '0.040913346841589454', 'result_long': None, 'result_double': None}] Qualite : 0.040913346841589454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20093996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20093996 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}" where mtr_portfolio_id = 20093996 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20093996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643273, 0.040913346841589454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20093996_01-02-2025_05_41_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20093997, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20093998, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20093999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094000, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094001, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094002, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094003, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094004, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094006, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094007, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094008, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20094429 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536647, 'mtr_portfolio_id': 20094429, 'created_at': datetime.datetime(2025, 2, 1, 5, 42, 5), 'result': '0.025452941454474808', 'result_long': None, 'result_double': None}] Qualite : 0.025452941454474808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20094429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20094429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}" where mtr_portfolio_id = 20094429 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20094429 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643274, 0.025452941454474808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20094429_01-02-2025_05_42_08.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20094527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20094528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20094529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20094530, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20094531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20094532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20094533, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20094534, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20094535, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20094536, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20094537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20094538, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095035 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536648, 'mtr_portfolio_id': 20095035, 'created_at': datetime.datetime(2025, 2, 1, 5, 42, 30), 'result': '0.04530179493833698', 'result_long': None, 'result_double': None}] Qualite : 0.04530179493833698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095035 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}" where mtr_portfolio_id = 20095035 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643275, 0.04530179493833698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095035_01-02-2025_05_42_33.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20095080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095082, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095083, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095085, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095086, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095088, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095090, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095091, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095545 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536649, 'mtr_portfolio_id': 20095545, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 2), 'result': '0.05095805914591683', 'result_long': None, 'result_double': None}] Qualite : 0.05095805914591683 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095545 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}" where mtr_portfolio_id = 20095545 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643276, 0.05095805914591683, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095545_01-02-2025_05_43_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095608, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095609, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20095611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095612, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095613, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095614, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095616, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20095959 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536650, 'mtr_portfolio_id': 20095959, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 31), 'result': '0.05538534305510406', 'result_long': None, 'result_double': None}] Qualite : 0.05538534305510406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20095959 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20095959 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}" where mtr_portfolio_id = 20095959 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20095959 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643277, 0.05538534305510406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20095959_01-02-2025_05_43_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20095966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20095967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20095968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20095969, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20095970, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20095971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20095972, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20095973, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20095974, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20095975, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20095976, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20095977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20097156 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536651, 'mtr_portfolio_id': 20097156, 'created_at': datetime.datetime(2025, 2, 1, 5, 43, 59), 'result': '0.04148309277310702', 'result_long': None, 'result_double': None}] Qualite : 0.04148309277310702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097156 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097156 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}" where mtr_portfolio_id = 20097156 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20097156 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643278, 0.04148309277310702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097156_01-02-2025_05_44_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097162, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097163, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20097166, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097167, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097169, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097170, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097171, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097172, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097173, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20097481 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536652, 'mtr_portfolio_id': 20097481, 'created_at': datetime.datetime(2025, 2, 1, 5, 44, 28), 'result': '0.03628505255714043', 'result_long': None, 'result_double': None}] Qualite : 0.03628505255714043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20097481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20097481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}" where mtr_portfolio_id = 20097481 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20097481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643279, 0.03628505255714043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20097481_01-02-2025_05_44_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20097487, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20097488, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20097489, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20097490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20097491, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20097492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20097493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20097494, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20097495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20097496, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20097497, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20097498, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20098077 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536653, 'mtr_portfolio_id': 20098077, 'created_at': datetime.datetime(2025, 2, 1, 5, 45, 2), 'result': '0.054668766063283206', 'result_long': None, 'result_double': None}] Qualite : 0.054668766063283206 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098077 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}" where mtr_portfolio_id = 20098077 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20098077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643280, 0.054668766063283206, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098077_01-02-2025_05_45_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20098083, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098085, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098086, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098087, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098088, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098089, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098090, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098091, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098092, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098093, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098094, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20098681 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536654, 'mtr_portfolio_id': 20098681, 'created_at': datetime.datetime(2025, 2, 1, 5, 45, 32), 'result': '0.04175880099459883', 'result_long': None, 'result_double': None}] Qualite : 0.04175880099459883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20098681 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20098681 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}" where mtr_portfolio_id = 20098681 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20098681 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643281, 0.04175880099459883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20098681_01-02-2025_05_45_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20098687, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20098688, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20098689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20098690, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20098691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20098692, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20098693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20098694, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20098695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20098696, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20098697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20098698, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20099158 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536655, 'mtr_portfolio_id': 20099158, 'created_at': datetime.datetime(2025, 2, 1, 5, 46), 'result': '0.041281318097373974', 'result_long': None, 'result_double': None}] Qualite : 0.041281318097373974 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20099158 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20099158 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}" where mtr_portfolio_id = 20099158 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20099158 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643282, 0.041281318097373974, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20099158_01-02-2025_05_46_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20099174, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20099175, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20099176, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20099177, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20099178, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20099179, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20099180, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20099181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20099182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20099183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20099184, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20099185, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20100088 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536656, 'mtr_portfolio_id': 20100088, 'created_at': datetime.datetime(2025, 2, 1, 5, 46, 28), 'result': '0.04568032891211431', 'result_long': None, 'result_double': None}] Qualite : 0.04568032891211431 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100088 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100088 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}" where mtr_portfolio_id = 20100088 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20100088 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643283, 0.04568032891211431, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100088_01-02-2025_05_46_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100101, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100103, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100104, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100105, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100106, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100107, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100108, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100109, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100110, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100111, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100112, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20100892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536657, 'mtr_portfolio_id': 20100892, 'created_at': datetime.datetime(2025, 2, 1, 5, 46, 58), 'result': '0.04660509101459956', 'result_long': None, 'result_double': None}] Qualite : 0.04660509101459956 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20100892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20100892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}" where mtr_portfolio_id = 20100892 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20100892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643284, 0.04660509101459956, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20100892_01-02-2025_05_47_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20100897, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20100898, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20100899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20100900, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20100901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20100902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20100903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20100904, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20100905, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20100906, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20100907, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20100908, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20101316 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536658, 'mtr_portfolio_id': 20101316, 'created_at': datetime.datetime(2025, 2, 1, 5, 47, 31), 'result': '0.04729556343520526', 'result_long': None, 'result_double': None}] Qualite : 0.04729556343520526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20101316 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20101316 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}" where mtr_portfolio_id = 20101316 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20101316 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643285, 0.04729556343520526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20101316_01-02-2025_05_47_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20101325, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20101326, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20101327, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20101328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20101329, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20101330, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20101331, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20101332, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20101333, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20101334, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20101335, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20101336, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20102361 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536659, 'mtr_portfolio_id': 20102361, 'created_at': datetime.datetime(2025, 2, 1, 5, 48, 1), 'result': '0.058284879664812474', 'result_long': None, 'result_double': None}] Qualite : 0.058284879664812474 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102361 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102361 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}" where mtr_portfolio_id = 20102361 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102361 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643286, 0.058284879664812474, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102361_01-02-2025_05_48_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102365, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102368, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102370, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102373, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20102932 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536660, 'mtr_portfolio_id': 20102932, 'created_at': datetime.datetime(2025, 2, 1, 5, 48, 31), 'result': '0.051051027276654976', 'result_long': None, 'result_double': None}] Qualite : 0.051051027276654976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20102932 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20102932 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}" where mtr_portfolio_id = 20102932 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20102932 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643287, 0.051051027276654976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20102932_01-02-2025_05_48_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20102958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20102959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20102960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20102961, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20102962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20102963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20102964, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20102965, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20102966, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20102967, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20102968, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20102969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20103345 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2536661, 'mtr_portfolio_id': 20103345, 'created_at': datetime.datetime(2025, 2, 1, 5, 49, 3), 'result': '0.04671255435861283', 'result_long': None, 'result_double': None}] Qualite : 0.04671255435861283 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103345 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103345 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}" where mtr_portfolio_id = 20103345 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20103345 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643288, 0.04671255435861283, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103345_01-02-2025_05_49_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103364, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103365, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103367, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103368, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103371, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103372, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103373, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103374, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103375, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20103727 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533108, 'mtr_portfolio_id': 20103727, 'created_at': datetime.datetime(2025, 1, 31, 8, 19, 1), 'result': '0.038773707457147866', 'result_long': None, 'result_double': None}] Qualite : 0.038773707457147866 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20103727 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20103727 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}" where mtr_portfolio_id = 20103727 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20103727 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643289, 0.038773707457147866, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20103727_31-01-2025_08_19_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20103732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20103733, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20103734, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20103735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20103736, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20103737, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20103738, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20103739, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20103740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20103741, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20103742, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20103743, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20104620 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533159, 'mtr_portfolio_id': 20104620, 'created_at': datetime.datetime(2025, 1, 31, 8, 37), 'result': '0.040804842250134435', 'result_long': None, 'result_double': None}] Qualite : 0.040804842250134435 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104620 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104620 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}" where mtr_portfolio_id = 20104620 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20104620 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643290, 0.040804842250134435, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104620_31-01-2025_08_37_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104638, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104639, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104642, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104645, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104646, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104648, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104649, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20104890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533193, 'mtr_portfolio_id': 20104890, 'created_at': datetime.datetime(2025, 1, 31, 8, 46, 57), 'result': '0.05139320245324304', 'result_long': None, 'result_double': None}] Qualite : 0.05139320245324304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20104890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20104890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}" where mtr_portfolio_id = 20104890 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20104890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643291, 0.05139320245324304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20104890_31-01-2025_08_46_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20104929, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20104930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20104931, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20104932, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20104933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20104934, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20104935, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20104936, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20104937, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20104938, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20104939, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20104940, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20105217 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533219, 'mtr_portfolio_id': 20105217, 'created_at': datetime.datetime(2025, 1, 31, 9, 32, 58), 'result': '0.04588294967341436', 'result_long': None, 'result_double': None}] Qualite : 0.04588294967341436 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20105217 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20105217 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}" where mtr_portfolio_id = 20105217 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20105217 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643292, 0.04588294967341436, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20105217_31-01-2025_09_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20105225, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20105226, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20105227, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20105228, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20105229, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20105230, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20105231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20105232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20105233, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20105234, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20105235, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20105236, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20106746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533366, 'mtr_portfolio_id': 20106746, 'created_at': datetime.datetime(2025, 1, 31, 9, 49, 28), 'result': '0.03770325285483314', 'result_long': None, 'result_double': None}] Qualite : 0.03770325285483314 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20106746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20106746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}" where mtr_portfolio_id = 20106746 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20106746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643293, 0.03770325285483314, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20106746_31-01-2025_09_49_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20106752, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20106753, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20106754, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20106755, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20106756, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20106757, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20106758, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20106759, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20106760, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20106761, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20106762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20106763, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20107484 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533416, 'mtr_portfolio_id': 20107484, 'created_at': datetime.datetime(2025, 1, 31, 10, 3), 'result': '0.03254347503969908', 'result_long': None, 'result_double': None}] Qualite : 0.03254347503969908 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20107484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20107484 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}" where mtr_portfolio_id = 20107484 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20107484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643294, 0.03254347503969908, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20107484_31-01-2025_10_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20107526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20107527, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20107528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20107529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20107530, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20107531, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20107532, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20107533, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20107534, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20107535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20107536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20107537, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20108354 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533488, 'mtr_portfolio_id': 20108354, 'created_at': datetime.datetime(2025, 1, 31, 10, 16, 56), 'result': '0.03393909744323637', 'result_long': None, 'result_double': None}] Qualite : 0.03393909744323637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108354 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108354 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}" where mtr_portfolio_id = 20108354 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108354 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643295, 0.03393909744323637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108354_31-01-2025_10_16_56.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20108358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108359, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108360, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108361, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108362, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108363, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108364, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108365, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108366, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108367, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108368, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108369, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20108777 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533565, 'mtr_portfolio_id': 20108777, 'created_at': datetime.datetime(2025, 1, 31, 10, 33), 'result': '0.022693658238996262', 'result_long': None, 'result_double': None}] Qualite : 0.022693658238996262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20108777 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20108777 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}" where mtr_portfolio_id = 20108777 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20108777 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643296, 0.022693658238996262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20108777_31-01-2025_10_33_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20108783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20108784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20108785, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20108786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20108787, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20108788, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20108789, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20108790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20108791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20108792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20108793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20108794, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20109367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533650, 'mtr_portfolio_id': 20109367, 'created_at': datetime.datetime(2025, 1, 31, 10, 46, 59), 'result': '0.0436727874908148', 'result_long': None, 'result_double': None}] Qualite : 0.0436727874908148 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}" where mtr_portfolio_id = 20109367 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20109367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643297, 0.0436727874908148, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109367_31-01-2025_10_46_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20109412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20109413, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20109414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20109415, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20109416, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20109417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20109418, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20109419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20109420, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20109421, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20109422, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20109423, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20109995 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533748, 'mtr_portfolio_id': 20109995, 'created_at': datetime.datetime(2025, 1, 31, 11, 2, 59), 'result': '0.040425433787416976', 'result_long': None, 'result_double': None}] Qualite : 0.040425433787416976 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20109995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20109995 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}" where mtr_portfolio_id = 20109995 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20109995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643298, 0.040425433787416976, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20109995_31-01-2025_11_03_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110041, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110044, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110045, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110046, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20110047, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110048, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110049, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110051, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20110720 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533886, 'mtr_portfolio_id': 20110720, 'created_at': datetime.datetime(2025, 1, 31, 11, 19), 'result': '0.0381700843080114', 'result_long': None, 'result_double': None}] Qualite : 0.0381700843080114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20110720 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20110720 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}" where mtr_portfolio_id = 20110720 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20110720 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643299, 0.0381700843080114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20110720_31-01-2025_11_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20110771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20110772, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20110773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20110774, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20110775, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20110776, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20110777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20110778, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20110779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20110780, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20110781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20110782, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20111560 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2533991, 'mtr_portfolio_id': 20111560, 'created_at': datetime.datetime(2025, 1, 31, 11, 32, 57), 'result': '0.04375539871282768', 'result_long': None, 'result_double': None}] Qualite : 0.04375539871282768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20111560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20111560 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}" where mtr_portfolio_id = 20111560 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20111560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643300, 0.04375539871282768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20111560_31-01-2025_11_32_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20111680, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20111681, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20111682, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20111683, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20111684, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20111685, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20111686, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20111687, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20111688, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20111689, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20111690, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20111691, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20112623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2534065, 'mtr_portfolio_id': 20112623, 'created_at': datetime.datetime(2025, 1, 31, 11, 48, 58), 'result': '0.0654430677462188', 'result_long': None, 'result_double': None}] Qualite : 0.0654430677462188 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20112623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20112623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}" where mtr_portfolio_id = 20112623 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20112623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643301, 0.0654430677462188, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20112623_31-01-2025_11_48_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20112628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20112629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20112630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20112631, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20112632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20112633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20112634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20112635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20112636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20112637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20112638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20112639, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20113116 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2534102, 'mtr_portfolio_id': 20113116, 'created_at': datetime.datetime(2025, 1, 31, 12, 2, 59), 'result': '0.04026519605661039', 'result_long': None, 'result_double': None}] Qualite : 0.04026519605661039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113116 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}" where mtr_portfolio_id = 20113116 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643302, 0.04026519605661039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113116_31-01-2025_12_03_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113179, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113180, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113182, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113183, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113184, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113185, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113187, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113188, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113189, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20113571 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2534163, 'mtr_portfolio_id': 20113571, 'created_at': datetime.datetime(2025, 1, 31, 12, 18, 59), 'result': '0.05604052565025554', 'result_long': None, 'result_double': None}] Qualite : 0.05604052565025554 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20113571 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20113571 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}" where mtr_portfolio_id = 20113571 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20113571 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643303, 0.05604052565025554, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20113571_31-01-2025_12_18_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20113580, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20113581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20113582, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20113583, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20113584, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20113585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20113586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20113587, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20113588, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20113589, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20113590, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20113591, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20121430 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535297, 'mtr_portfolio_id': 20121430, 'created_at': datetime.datetime(2025, 1, 31, 21, 19, 2), 'result': '0.0817407283353113', 'result_long': None, 'result_double': None}] Qualite : 0.0817407283353113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}" where mtr_portfolio_id = 20121430 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20121430 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643304, 0.0817407283353113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121430_31-01-2025_21_19_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121435, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121436, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121437, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20121438, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121439, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121440, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121442, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121443, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121444, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121445, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121446, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20121826 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535320, 'mtr_portfolio_id': 20121826, 'created_at': datetime.datetime(2025, 1, 31, 21, 37), 'result': '0.05138945010416425', 'result_long': None, 'result_double': None}] Qualite : 0.05138945010416425 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20121826 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20121826 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}" where mtr_portfolio_id = 20121826 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20121826 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643305, 0.05138945010416425, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20121826_31-01-2025_21_37_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20121883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20121884, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20121885, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20121886, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20121887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20121888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20121889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20121890, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20121891, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20121892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20121893, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20121894, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20122144 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535341, 'mtr_portfolio_id': 20122144, 'created_at': datetime.datetime(2025, 1, 31, 21, 46, 58), 'result': '0.03770210148331466', 'result_long': None, 'result_double': None}] Qualite : 0.03770210148331466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122144 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122144 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}" where mtr_portfolio_id = 20122144 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20122144 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643306, 0.03770210148331466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122144_31-01-2025_21_46_58.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122183, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122188, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122191, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122194, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122197, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122199, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122200, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20122775 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535400, 'mtr_portfolio_id': 20122775, 'created_at': datetime.datetime(2025, 1, 31, 22, 2, 58), 'result': '0.031556960468318095', 'result_long': None, 'result_double': None}] Qualite : 0.031556960468318095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20122775 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20122775 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}" where mtr_portfolio_id = 20122775 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20122775 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643307, 0.031556960468318095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20122775_31-01-2025_22_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20122801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20122802, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20122803, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20122804, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20122805, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20122806, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20122807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20122808, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20122809, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20122810, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20122811, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20122812, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20123568 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535503, 'mtr_portfolio_id': 20123568, 'created_at': datetime.datetime(2025, 1, 31, 22, 16, 57), 'result': '0.04016188114633454', 'result_long': None, 'result_double': None}] Qualite : 0.04016188114633454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20123568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20123568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}" where mtr_portfolio_id = 20123568 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20123568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643308, 0.04016188114633454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20123568_31-01-2025_22_16_58.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20123577, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20123578, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20123579, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20123580, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20123581, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20123582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20123583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20123584, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20123585, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20123586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20123587, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20123589, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20124284 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535564, 'mtr_portfolio_id': 20124284, 'created_at': datetime.datetime(2025, 1, 31, 22, 37, 1), 'result': '0.03119054991574652', 'result_long': None, 'result_double': None}] Qualite : 0.03119054991574652 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124284 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124284 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}" where mtr_portfolio_id = 20124284 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20124284 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643309, 0.03119054991574652, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124284_31-01-2025_22_37_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124291, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124292, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124293, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124294, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124297, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124298, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20124299, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124300, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124301, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20124827 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535599, 'mtr_portfolio_id': 20124827, 'created_at': datetime.datetime(2025, 1, 31, 22, 49), 'result': '0.03904325953720691', 'result_long': None, 'result_double': None}] Qualite : 0.03904325953720691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20124827 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20124827 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}" where mtr_portfolio_id = 20124827 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20124827 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643310, 0.03904325953720691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20124827_31-01-2025_22_49_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20124879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20124880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20124881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20124882, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20124883, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20124884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20124885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20124886, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20124887, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20124888, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20124889, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20124890, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20125220 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2535677, 'mtr_portfolio_id': 20125220, 'created_at': datetime.datetime(2025, 2, 1, 5, 10, 31), 'result': '0.04059907305847414', 'result_long': None, 'result_double': None}] Qualite : 0.04059907305847414 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20125220 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20125220 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}" where mtr_portfolio_id = 20125220 and dashboard_run_id = 1578330 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20125220 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (8643311, 0.04059907305847414, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20125220_01-02-2025_05_10_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20125281, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20125282, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20125283, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20125284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20125285, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20125286, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20125287, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20125288, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20125289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20125290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20125291, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20125292, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 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 = 20135429 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 = 20135429 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135429 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 = 20135429 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 = 20135429 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135429 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135429_01-02-2025_05_11_03.pdf'}" where mtr_portfolio_id = 20135429 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 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 = 20135430 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 = 20135430 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135430 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 = 20135430 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 = 20135430 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135430 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135430_01-02-2025_05_11_36.pdf'}" where mtr_portfolio_id = 20135430 and dashboard_run_id = 1578330 SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 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 = 20135431 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 = 20135431 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20135431 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 = 20135431 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 = 20135431 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20135431 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20135431_01-02-2025_05_12_00.pdf'}" where mtr_portfolio_id = 20135431 and dashboard_run_id = 1578330 SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20127938,20127939,20127940,20127941,20090835,20090957,20090959,20091190,20091230,20091819,20092585,20093325,20093996,20094429,20095035,20095545,20095959,20097156,20097481,20098077,20098681,20099158,20100088,20100892,20101316,20102361,20102932,20103345,20103727,20104620,20104890,20105217,20106746,20107484,20108354,20108777,20109367,20109995,20110720,20111560,20112623,20113116,20113571,20121430,20121826,20122144,20122775,20123568,20124284,20124827,20125220,20135429,20135430,20135431) result : ((1333164248,), (1333170551,), (1333170556,), (1333170560,), (1333170563,), (1333170565,), (1333170590,), (1333170592,), (1333170607,), (1333170625,), (1333170654,), (1333170694,), (1333170815,), (1333170892,), (1333170896,), (1333170901,), (1333170923,), (1333171038,), (1333171039,), (1333171042,), (1333171043,), (1333171064,), (1333171068,), (1333177306,), (1333177645,), (1333177646,), (1333177807,), (1333177853,), (1333177866,), (1333177871,), (1333177876,), (1333177881,), (1333177916,), (1333178125,), (1333178279,), (1333178320,), (1333178329,), (1333178338,), (1333178366,), (1333178372,), (1333178374,), (1333178377,), (1333178380,), (1333178383,), (1333178436,), (1333178437,), (1333178442,), (1333178444,), (1333178447,), (1333178451,), (1333178660,), (1333178670,), (1333178684,), (1333178687,), (1333178695,), (1333178700,), (1333178705,), (1333178708,), (1333178710,), (1333178712,), (1333178736,), (1333178759,), (1333178775,), (1333178776,), (1333164240,), (1333170730,), (1333171085,), (1333171113,), (1333171115,), (1333171118,), (1333171119,), (1333171122,), (1333171135,), (1333171142,), (1333171149,), (1333171153,), (1333171157,), (1333171161,), (1333171179,), (1333171181,), (1333171185,), (1333171189,), (1333171193,), (1333171196,), (1333176762,), (1333176767,), (1333176770,), (1333176773,), (1333176776,), (1333176778,), (1333176937,), (1333176942,), (1333176946,), (1333176959,), (1333177005,), (1333177008,), (1333177073,), (1333177075,), (1333177077,), (1333177079,), (1333177081,), (1333177084,), (1333177100,), (1333177105,), (1333177112,), (1333177114,), (1333177116,), (1333177118,), (1333177122,), (1333177126,), (1333177131,), (1333177136,), (1333177138,), (1333177143,), (1333177155,), (1333177159,), (1333177162,), (1333177165,), (1333177168,), (1333177170,), (1333177175,), (1333177178,), (1333177184,), (1333177188,), (1333177194,), (1333177200,), (1333177213,), (1333177215,), (1333177218,), (1333177221,), (1333177222,), (1333177226,), (1333177285,), (1333177293,), (1333177295,), (1333177298,), (1333177300,), (1333177302,), (1333164507,), (1333168172,), (1333171206,), (1333171209,), (1333171215,), (1333171219,), (1333171224,), (1333171229,), (1333171240,), (1333171242,), (1333171245,), (1333171248,), (1333171252,), (1333171257,), (1333171270,), (1333171274,), (1333171277,), (1333171280,), (1333171283,), (1333171287,), (1333174225,), (1333174226,), (1333174228,), (1333174234,), (1333174238,), (1333174241,), (1333174829,), (1333174831,), (1333174832,), (1333174856,), (1333174857,), (1333174860,), (1333175175,), (1333175178,), (1333175187,), (1333175190,), (1333175194,), (1333175197,), (1333175324,), (1333175331,), (1333175336,), (1333175341,), (1333175343,), (1333175346,), (1333175621,), (1333175681,), (1333175725,), (1333175731,), (1333175736,), (1333175748,), (1333175756,), (1333175758,), (1333175855,), (1333175856,), (1333175860,), (1333175863,), (1333175868,), (1333175874,), (1333175895,), (1333175897,), (1333175899,), (1333175921,), (1333175926,), (1333175934,), (1333175943,), (1333175947,), (1333175950,), (1333175953,), (1333175957,), (1333175961,), (1333176001,), (1333176006,), (1333176014,), (1333176019,), (1333176030,), (1333176093,), (1333176135,), (1333176175,), (1333176233,), (1333176379,), (1333171700,), (1333171788,), (1333171833,), (1333171836,), (1333171840,), (1333171842,), (1333171857,), (1333171862,), (1333171867,), (1333171875,), (1333171880,), (1333171886,), (1333171892,), (1333171896,), (1333171900,), (1333171904,), (1333171910,), (1333171923,), (1333171957,), (1333171958,), (1333171959,), (1333172007,), (1333172019,), (1333172051,), (1333172056,), (1333172064,), (1333172068,), (1333172156,), (1333172176,), (1333172239,), (1333172241,), (1333172243,), (1333172245,), (1333172249,), (1333172251,), (1333172320,), (1333172324,), (1333172328,), (1333172332,), (1333172341,), (1333172345,), (1333172375,), (1333172381,), (1333172448,), (1333172452,), (1333172456,), (1333172494,), (1333172497,), (1333172501,), (1333172543,), (1333172552,), (1333172555,), (1333172556,), (1333172560,), (1333172612,), (1333172614,), (1333172706,), (1333172884,), (1333173009,), (1333173163,), (1333174065,), (1333174082,), (1333174085,), (1333174088,), (1333174092,), (1333174096,), (1333174099,), (1333174205,), (1333171944,), (1333171952,), (1333171955,), (1333171971,), (1333171979,), (1333171980,), (1333171988,), (1333171994,), (1333172000,), (1333172131,), (1333172140,), (1333172145,), (1333172152,), (1333172208,), (1333172210,), (1333172214,), (1333172220,), (1333172226,), (1333172230,), (1333172267,), (1333172272,), (1333172276,), (1333172282,), (1333172286,), (1333172293,), (1333172361,), (1333172366,), (1333172368,), (1333172370,), (1333172395,), (1333172399,), (1333172405,), (1333172409,), (1333172419,), (1333172429,), (1333172525,), (1333172528,), (1333172533,), (1333172537,), (1333172540,), (1333172685,), (1333172688,), (1333173724,), (1333173877,), (1333173942,), (1333173953,), (1333173979,), (1333174120,), (1333174125,), (1333174130,), (1333174134,), (1333174152,), (1333174562,), (1333174585,), (1333174719,), (1333174739,), (1333174796,), (1333174826,), (1333174918,), (1333174969,), (1333174999,), (1333175034,), (1333175045,), (1333175052,), (1333175207,), (1333175211,), (1333175214,), (1333175221,), (1333175224,), (1333175302,), (1333175523,), (1333175598,), (1333175602,), (1333175613,), (1333175617,), (1333175678,), (1333175640,), (1333175642,), (1333175659,), (1333175675,), (1333175766,), (1333175769,), (1333175779,), (1333175785,), (1333175790,), (1333175803,), (1333175888,), (1333175892,), (1333175893,), (1333175909,), (1333175913,), (1333175918,), (1333175987,), (1333175996,), (1333177248,), (1333177264,), (1333177270,), (1333177279,), (1333177281,), (1333177567,), (1333177572,), (1333177580,), (1333177583,), (1333177632,), (1333177633,), (1333177639,), (1333177640,), (1333177642,), (1333177644,), (1333177694,), (1333177703,), (1333177715,), (1333177747,), (1333177752,), (1333178101,), (1333178107,), (1333178111,), (1333178116,), (1333178121,), (1333178142,), (1333178161,), (1333178169,), (1333178252,), (1333178277,), (1333178312,), (1333178295,), (1333178303,), (1333178400,), (1333178411,), (1333178417,), (1333178422,), (1333178427,), (1333178430,), (1333178518,), (1333178525,), (1333178539,), (1333178542,), (1333178583,), (1333178584,), (1333178632,), (1333178633,), (1333178640,), (1333178641,), (1333178643,), (1333178645,), (1333178649,), (1333178651,), (1333178715,), (1333178718,), (1333178723,), (1333178728,), (1333178732,), (1333178838,), (1333178843,), (1333178847,), (1333178852,), (1333178880,), (1333179102,), (1333179233,), (1333179348,), (1333179496,), (1333179577,), (1333179982,), (1333179983,), (1333179989,), (1333179992,), (1333179997,), (1333180025,), (1333180069,), (1333180192,), (1333180406,), (1333180453,), (1333180471,), (1333180479,), (1333180487,), (1333180531,), (1333180791,), (1333180796,), (1333180811,), (1333180823,), (1333180875,), (1333180881,), (1333180886,), (1333180911,), (1333180916,), (1333181046,), (1333181048,), (1333181055,), (1333181061,), (1333181065,), (1333181127,), (1333181133,), (1333181136,), (1333182330,), (1333181285,), (1333182193,), (1333182232,), (1333182237,), (1333182263,), (1333182551,), (1333182552,), (1333182562,), (1333182564,), (1333182570,), (1333182571,), (1333182623,), (1333182636,), (1333182675,), (1333182685,), (1333183000,), (1333183035,), (1333183046,), (1333183119,), (1333184094,), (1333184099,), (1333184104,), (1333184108,), (1333184114,), (1333184117,), (1333184648,), (1333184653,), (1333184657,), (1333184707,), (1333184719,), (1333184722,), (1333184736,), (1333184740,), (1333184755,), (1333184813,), (1333185256,), (1333185267,), (1333185273,), (1333185294,), (1333185300,), (1333185410,), (1333185411,), (1333185416,), (1333185417,), (1333185429,), (1333185430,), (1333185436,), (1333185437,), (1333185440,), (1333185441,), (1333185445,), (1333185446,), (1333185455,), (1333185458,), (1333185464,), (1333185632,), (1333185650,), (1333185669,), (1333185672,), (1333185958,), (1333185960,), (1333185963,), (1333185966,), (1333185969,), (1333185972,), (1333185978,), (1333185980,), (1333185983,), (1333185987,), (1333186100,), (1333186122,), (1333186141,), (1333186145,), (1333186150,), (1333186192,), (1333186180,), (1333186182,), (1333186185,), (1333186189,), (1333186225,), (1333186227,), (1333186229,), (1333186231,), (1333186237,), (1333186281,), (1333186300,), (1333186307,), (1333186314,), (1333186317,), (1333186318,), (1333186321,), (1333186325,), (1333186354,), (1333186356,), (1333186358,), (1333186388,), (1333186391,), (1333186395,), (1333186398,), (1333186404,), (1333186407,), (1333186431,), (1333186435,), (1333186440,), (1333186507,), (1333186516,), (1333186521,), (1333186611,), (1333186617,), (1333186622,), (1333186626,), (1333186630,), (1333186632,), (1333186640,), (1333186643,), (1333186648,), (1333186652,), (1333186681,), (1333186684,), (1333186687,), (1333186691,), (1333186694,), (1333186723,), (1333186726,), (1333186731,), (1333186748,), (1333186791,), (1333186794,), (1333186797,), (1333186800,), (1333186808,), (1333186811,), (1333186815,), (1333186818,), (1333186823,), (1333186861,), (1333186864,), (1333186869,), (1333186883,), (1333187285,), (1333186999,), (1333187003,), (1333187007,), (1333187010,), (1333187015,), (1333187018,), (1333187158,), (1333187408,), (1333187412,), (1333187454,), (1333187459,), (1333187462,), (1333187581,), (1333187683,), (1333187689,), (1333187853,), (1333187855,), (1333187856,), (1333187873,), (1333187911,), (1333188104,), (1333188229,), (1333188342,), (1333188393,), (1333188431,), (1333188507,), (1333188528,), (1333188575,), (1333188911,), (1333188945,), (1333188947,), (1333188952,), (1333188955,), (1333188980,), (1333188982,), (1333188985,), (1333188988,), (1333188991,), (1333189380,), (1333189381,), (1333189409,), (1333189410,), (1333189414,), (1333189417,), (1333189553,), (1333189554,), (1333189557,), (1333189558,), (1333189567,), (1333189568,), (1333189570,), (1333189572,), (1333189574,), (1333189576,), (1333189578,), (1333189579,), (1333189586,), (1333189588,), (1333189590,), (1333189675,), (1333189678,), (1333189777,), (1333189778,), (1333189779,), (1333189782,), (1333189784,), (1333190141,), (1333190210,), (1333190276,), (1333190318,), (1333190353,), (1333190580,), (1333190661,), (1333190738,), (1333190812,), (1333191020,), (1333191009,), (1333191012,), (1333191018,), (1333191046,), (1333191049,), (1333191060,), (1333191907,), (1333191910,), (1333191945,), (1333191948,), (1333191951,), (1333191955,), (1333191958,), (1333191985,), (1333191987,), (1333192014,), (1333192017,), (1333192020,), (1333192026,), (1333192331,), (1333192334,), (1333192338,), (1333192342,), (1333192346,), (1333192540,), (1333192550,), (1333192555,), (1333192586,), (1333192606,), (1333192608,), (1333192610,), (1333192611,), (1333192831,), (1333192844,), (1333192879,), (1333192882,), (1333192885,), (1333192908,), (1333192931,), (1333192933,), (1333192935,), (1333192977,), (1333193195,), (1333193193,), (1333193194,), (1333193243,), (1333193244,), (1333193246,), (1333193249,), (1333193251,), (1333193283,), (1333193285,), (1333193286,), (1333193287,), (1333193290,), (1333193327,), (1333193334,), (1333193368,), (1333193369,), (1333193371,), (1333193373,), (1333193374,), (1333193376,), (1333193433,), (1333193436,), (1333193439,), (1333193443,), (1333193486,), (1333193489,), (1333193512,), (1333193515,), (1333193519,), (1333193534,), (1333193598,), (1333193602,), (1333193606,), (1333193607,), (1333193749,), (1333193862,), (1333194437,), (1333194439,), (1333194441,), (1333194443,), (1333194709,), (1333194747,), (1333194759,), (1333194766,), (1333194769,), (1333194797,), (1333194798,), (1333194801,), (1333194804,), (1333194808,), (1333194810,), (1333194832,), (1333194835,), (1333194839,), (1333194972,), (1333194996,), (1333194998,), (1333195196,), (1333195205,), (1333195225,), (1333195244,), (1333195274,), (1333195277,), (1333195278,), (1333195280,), (1333195283,), (1333195318,), (1333195306,), (1333195308,), (1333195311,), (1333195316,), (1333195372,), (1333195374,), (1333195376,), (1333195378,), (1333195473,), (1333195475,), (1333195507,), (1333195508,), (1333195510,), (1333195513,), (1333195544,), (1333195546,), (1333195548,), (1333195552,), (1333195619,), (1333195645,), (1333195647,), (1333195649,), (1333195651,), (1333195688,), (1333195690,), (1333195691,), (1333195693,), (1333195697,), (1333195736,), (1333195737,), (1333195740,), (1333195746,), (1333195936,), (1333195938,), (1333195942,), (1333195988,), (1333195993,), (1333196080,), (1333196082,), (1333196083,), (1333196085,), (1333196118,), (1333196500,), (1333196502,), (1333196504,), (1333196520,), (1333196527,), (1333196554,), (1333196557,), (1333196559,), (1333200458,), (1333201884,), (1333201930,), (1333201932,), (1333201935,), (1333202030,), (1333202035,), (1333202233,), (1333202255,), (1333202258,), (1333202346,), (1333202353,), (1333202408,), (1333202426,), (1333202429,), (1333202432,), (1333202628,), (1333202649,), (1333202703,), (1333202706,), (1333202708,), (1333202710,), (1333202791,), (1333202793,), (1333202796,), (1333202798,), (1333203476,), (1333204840,), (1333204862,), (1333204867,), (1333204868,), (1333204869,), (1333204872,), (1333204900,), (1333204894,), (1333204896,), (1333204897,), (1333204898,), (1333204925,), (1333204927,), (1333204929,), (1333204931,), (1333204970,), (1333205035,), (1333205553,), (1333205576,), (1333205582,), (1333205586,), (1333205743,), (1333205752,), (1333205757,), (1333205759,), (1333205765,), (1333205812,), (1333205814,), (1333205816,), (1333205818,), (1333206670,), (1333206672,), (1333207085,), (1333207088,), (1333207112,), (1333207116,), (1333207139,), (1333207184,), (1333207215,), (1333207216,), (1333207217,), (1333207218,), (1333207294,), (1333207297,), (1333207299,), (1333207302,), (1333207304,), (1333207387,), (1333207427,), (1333207436,), (1333207437,), (1333207464,), (1333207468,), (1333207573,), (1333207598,), (1333207618,), (1333207656,), (1333207855,), (1333207857,), (1333207859,), (1333207907,), (1333207942,), (1333207945,), (1333208003,), (1333208008,), (1333208010,), (1333208011,), (1333208059,), (1333208047,), (1333208049,), (1333208051,), (1333208055,), (1333208086,), (1333208095,), (1333208099,), (1333208110,), (1333208142,), (1333208165,), (1333208483,), (1333208507,), (1333208510,), (1333208525,), (1333208587,), (1333208589,), (1333208592,), (1333208595,), (1333208597,), (1333208602,), (1333208619,), (1333208620,), (1333208621,), (1333208623,), (1333208625,), (1333208728,), (1333208736,), (1333208785,), (1333208788,), (1333208831,), (1333208833,), (1333208835,), (1333208839,), (1333208842,), (1333208847,), (1333208865,), (1333209010,), (1333209018,), (1333209094,), (1333209147,), (1333209320,), (1333209327,), (1333209329,), (1333209330,), (1333209484,), (1333210172,), (1333210174,), (1333210175,), (1333210296,), (1333210456,), (1333210460,), (1333210463,), (1333210466,), (1333210587,), (1333210588,), (1333210589,), (1333210643,), (1333210645,), (1333210648,), (1333210651,), (1333210655,), (1333210658,), (1333210689,), (1333210695,), (1333210698,), (1333210704,), (1333210732,), (1333210734,), (1333210737,), (1333210740,), (1333210745,), (1333210748,), (1333211120,), (1333210952,), (1333210956,), (1333210959,), (1333211005,), (1333211017,), (1333211020,), (1333211054,), (1333211114,), (1333211142,), (1333211155,), (1333211204,), (1333211214,), (1333211220,), (1333211224,), (1333211456,), (1333211460,), (1333211462,), (1333211465,), (1333211550,), (1333211552,), (1333211558,), (1333211564,), (1333211568,), (1333211572,), (1333211606,), (1333211609,), (1333211611,), (1333211764,), (1333211765,), (1333211766,), (1333211767,), (1333211768,), (1333211770,), (1333211794,), (1333211796,), (1333211798,), (1333211800,), (1333211877,), (1333211879,), (1333211881,), (1333211895,), (1333211904,), (1333211908,), (1333211928,), (1333211929,), (1333211932,), (1333211936,), (1333211975,), (1333211977,), (1333211978,), (1333211982,), (1333211984,), (1333211987,), (1333212007,), (1333212009,), (1333212010,), (1333212011,), (1333212060,), (1333212123,), (1333212184,), (1333212212,), (1333212215,), (1333212217,), (1333212404,), (1333212409,), (1333212414,), (1333212418,), (1333212501,), (1333212459,), (1333212464,), (1333212468,), (1333212494,), (1333212594,), (1333212597,), (1333212601,), (1333212602,), (1333212631,), (1333212633,), (1333212634,), (1333212636,), (1333212639,), (1333212667,), (1333212671,), (1333212674,), (1333212676,), (1333212680,), (1333212704,), (1333212723,), (1333212725,), (1333212727,), (1333212733,), (1333212735,), (1333212770,), (1333212773,), (1333212776,), (1333212778,), (1333212782,), (1333212790,), (1333212834,), (1333212837,), (1333212840,), (1333212880,), (1333212953,), (1333213036,), (1333213037,), (1333213059,), (1333213100,), (1333213402,), (1333213417,), (1333213642,), (1333213695,), (1333213709,), (1333213713,), (1333213716,), (1333213720,), (1333213723,), (1333213735,), (1333213738,), (1333213741,), (1333213833,), (1333213851,), (1333213858,), (1333213874,), (1333213876,), (1333213877,), (1333214104,), (1333214296,), (1333214426,), (1333214512,), (1333214949,), (1333214951,), (1333214959,), (1333214965,), (1333215107,), (1333215062,), (1333215099,), (1333215100,), (1333215103,), (1333215602,), (1333215653,), (1333215665,), (1333215678,), (1333215707,), (1333215779,), (1333216108,), (1333216134,), (1333216256,), (1333216366,), (1333216691,), (1333216696,), (1333216712,), (1333216719,), (1333216943,), (1333216966,), (1333216994,), (1333216996,), (1333217022,), (1333217031,), (1333217038,), (1333217040,), (1333217042,), (1333217043,), (1333217074,), (1333217076,), (1333217173,), (1333217176,), (1333217178,), (1333217181,), (1333217211,), (1333217212,), (1333217213,), (1333217215,), (1333217217,), (1333217243,), (1333217245,), (1333217247,), (1333217249,), (1333217324,), (1333217495,), (1333217604,), (1333217787,), (1333217793,), (1333217840,), (1333217842,), (1333217854,), (1333217984,), (1333217987,), (1333217989,), (1333217990,), (1333218037,), (1333218344,), (1333218346,), (1333218392,), (1333218394,), (1333218549,), (1333218581,), (1333218589,), (1333218748,), (1333218695,), (1333218742,), (1333218745,), (1333218783,), (1333218787,), (1333218794,), (1333218803,), (1333218826,), (1333218828,), (1333218829,), (1333218830,), (1333218867,), (1333218869,), (1333218871,), (1333218929,), (1333218933,), (1333218935,), (1333219176,), (1333219195,), (1333219198,), (1333219224,), (1333219227,), (1333219244,), (1333219246,), (1333219249,), (1333219256,), (1333219292,), (1333219293,), (1333219294,), (1333219352,), (1333219470,), (1333220191,), (1333220193,), (1333220214,), (1333220222,), (1333220225,), (1333220540,), (1333220543,), (1333220547,), (1333220550,), (1333220571,), (1333220574,), (1333220577,), (1333220609,), (1333220612,), (1333220616,), (1333220619,), (1333220626,), (1333220638,), (1333220643,), (1333220645,), (1333220653,), (1333220659,), (1333220716,), (1333220718,), (1333220722,), (1333220731,), (1333220737,), (1333220751,), (1333220925,), (1333220966,), (1333221021,), (1333221025,), (1333221031,), (1333221037,), (1333221038,), (1333221214,), (1333221216,), (1333221218,), (1333221221,), (1333221223,), (1333221225,), (1333221249,), (1333221251,), (1333221255,), (1333221256,), (1333220924,), (1333220962,), (1333221022,), (1333221026,), (1333221032,), (1333221042,), (1333221136,), (1333221138,), (1333221155,), (1333221159,), (1333221180,), (1333221232,), (1333221233,), (1333221237,), (1333221238,), (1333221241,), (1333221243,), (1333221245,), (1333221246,), (1333221265,), (1333221267,), (1333221268,), (1333221269,), (1333221270,), (1333221322,), (1333222114,), (1333222116,), (1333222119,), (1333222121,), (1333222123,), (1333222412,), (1333222415,), (1333222416,), (1333222477,), (1333222479,), (1333222489,), (1333222795,), (1333222797,), (1333222799,), (1333222811,), (1333222813,), (1333222815,), (1333222886,), (1333222897,), (1333222899,), (1333222911,), (1333222955,), (1333223139,), (1333223142,), (1333223145,), (1333223154,), (1333223207,), (1333223208,), (1333223209,), (1333223210,), (1333223235,), (1333223237,), (1333223294,), (1333223296,), (1333223322,), (1333223494,), (1333223533,), (1333223557,), (1333223571,), (1333223619,), (1333223847,), (1333223872,), (1333223924,), (1333223959,), (1333223970,), (1333224581,), (1333225628,), (1333225632,), (1333225635,), (1333225638,), (1333225680,), (1333225682,), (1333225683,), (1333225771,), (1333225852,), (1333226237,), (1333226241,), (1333226245,), (1333226285,), (1333226289,), (1333226292,), (1333226294,), (1333226321,), (1333226626,), (1333226639,), (1333226643,), (1333226684,), (1333226689,), (1333226692,), (1333226707,), (1333226718,), (1333226726,), (1333226853,), (1333226858,), (1333226864,), (1333226868,), (1333226872,), (1333226899,), (1333226901,), (1333226904,), (1333226907,), (1333226983,), (1333226997,), (1333227001,), (1333227004,), (1333227007,), (1333227047,), (1333227052,), (1333227058,), (1333227061,), (1333227069,), (1333227106,), (1333227104,), (1333227325,), (1333227366,), (1333227384,), (1333227409,), (1333227429,), (1333227448,), (1333227623,), (1333227631,), (1333227634,), (1333227732,), (1333227737,), (1333227741,), (1333227745,), (1333227749,), (1333227796,), (1333227799,), (1333227911,), (1333227929,), (1333227934,), (1333227968,), (1333227991,), (1333228064,), (1333228067,), (1333228073,), (1333228421,), (1333229695,), (1333229749,), (1333229935,), (1333230012,), (1333230015,), (1333230017,), (1333230018,), (1333230393,), (1333230408,), (1333230493,), (1333230619,), (1333230811,), (1333230817,), (1333230821,), (1333232346,), (1333232353,), (1333232367,), (1333232369,), (1333232647,), (1333232649,), (1333233367,), (1333233388,), (1333233465,), (1333233506,), (1333233548,), (1333233555,), (1333233557,), (1333233568,), (1333233583,), (1333233597,), (1333233661,), (1333233663,), (1333233665,), (1333233717,), (1333233721,), (1333233723,), (1333233727,), (1333233731,), (1333234086,), (1333234089,), (1333234092,), (1333234096,), (1333234099,), (1333234103,), (1333234156,), (1333234147,), (1333234150,), (1333234153,), (1333234210,), (1333234211,), (1333234215,), (1333234228,), (1333234232,), (1333234391,), (1333234401,), (1333234403,), (1333234407,), (1333234448,), (1333234451,), (1333234454,), (1333234456,), (1333234458,), (1333234494,), (1333234554,), (1333234555,), (1333234557,), (1333234559,), (1333234562,), (1333234608,), (1333234611,), (1333234616,), (1333234755,), (1333234777,), (1333235085,), (1333235087,), (1333235090,), (1333235093,), (1333235096,), (1333235299,), (1333235552,), (1333235792,), (1333236085,), (1333236335,), (1333236338,), (1333236473,), (1333236476,), (1333236478,), (1333236683,), (1333236692,), (1333236726,), (1333236968,), (1333237210,), (1333237411,), (1333237430,), (1333237446,), (1333237460,), (1333237467,), (1333237490,), (1333237580,), (1333237591,), (1333237670,), (1333237672,), (1333237675,), (1333237679,), (1333237726,), (1333237863,), (1333237858,), (1333237860,), (1333237905,), (1333237907,), (1333237953,), (1333238082,), (1333238101,), (1333238194,), (1333238202,), (1333238295,), (1333238296,), (1333238349,), (1333238448,), (1333238585,), (1333240284,), (1333242324,), (1333242306,), (1333242415,), (1333242417,), (1333242531,), (1333242642,), (1333242647,), (1333242892,), (1333242896,), (1333242936,), (1333242937,), (1333243003,), (1333243086,), (1333243095,), (1333243096,), (1333243114,), (1333243226,), (1333243229,), (1333243232,), (1333243239,), (1333243242,), (1333243247,), (1333243400,), (1333243423,), (1333243447,), (1333243557,), (1333243561,), (1333243563,), (1333243566,), (1333243849,), (1333243883,), (1333243896,), (1333243901,), (1333243949,), (1333243941,), (1333243944,), (1333243947,), (1333244006,), (1333244010,), (1333244013,), (1333244095,), (1333244097,), (1333244100,), (1333244101,), (1333244117,), (1333244206,), (1333244210,), (1333244212,), (1333244244,), (1333244270,), (1333244327,), (1333244977,), (1333245110,), (1333245209,), (1333246099,), (1333246170,), (1333247727,), (1333247879,), (1333248027,), (1333248202,), (1333248336,), (1333248447,), (1333248958,), (1333249041,), (1333249123,), (1333249193,), (1333249282,), (1333249367,), (1333249964,), (1333250038,), (1333250090,), (1333250157,), (1333250201,), (1333250470,), (1333250472,), (1333250540,), (1333250574,), (1333250687,), (1333250758,), (1333250823,), (1333250888,), (1333250941,), (1333251271,), (1333251343,), (1333251383,), (1333251439,), (1333251831,), (1333251835,), (1333251838,), (1333251846,), (1333251851,), (1333252196,), (1333252206,), (1333252216,), (1333252220,), (1333252225,), (1333261309,), (1333261505,), (1333261536,), (1333261540,), (1333261545,), (1333261550,), (1333261923,), (1333261935,), (1333261939,), (1333261947,), (1333261994,), (1333262076,), (1333262080,), (1333262192,), (1333262230,), (1333262237,), (1333262302,), (1333262306,), (1333262311,), (1333262323,), (1333262335,), (1333262344,), (1333262707,), (1333262809,), (1333262947,), (1333263031,), (1333263226,), (1333263382,), (1333263626,), (1333263630,), (1333263633,), (1333264062,), (1333264067,), (1333264080,), (1333264083,), (1333264141,), (1333264146,), (1333264147,), (1333264153,), (1333264161,), (1333264166,), (1333264226,), (1333264247,), (1333264252,), (1333264258,), (1333264261,), (1333264295,), (1333264299,), (1333264303,), (1333264330,), (1333264424,), (1333264529,), (1333264707,), (1333264742,), (1333264788,), (1333264791,), (1333264839,), (1333264840,), (1333264841,), (1333264842,), (1333264857,), (1333264862,), (1333264930,), (1333264934,), (1333264938,), (1333265802,), (1333265195,), (1333265257,), (1333265431,), (1333265486,), (1333265496,), (1333265533,), (1333265715,), (1333265726,), (1333265730,), (1333265786,), (1333265813,), (1333265815,), (1333265818,), (1333265821,), (1333265826,), (1333265860,), (1333265862,), (1333265864,), (1333265877,), (1333265884,), (1333265889,), (1333266159,), (1333266248,), (1333266250,), (1333266253,), (1333266257,), (1333266341,), (1333266377,), (1333266386,), (1333266395,), (1333266401,), (1333266414,), (1333266616,), (1333266620,), (1333266623,), (1333266627,), (1333266634,), (1333266755,), (1333266769,), (1333266771,), (1333266773,), (1333267177,), (1333267197,), (1333267201,), (1333267205,), (1333267209,), (1333267212,), (1333267247,), (1333267250,), (1333267251,), (1333267255,), (1333267317,), (1333267323,), (1333267389,), (1333267405,), (1333267409,), (1333267444,), (1333267486,), (1333267489,), (1333267498,), (1333267586,), (1333267897,), (1333267938,), (1333267947,), (1333267997,), (1333268010,), (1333268029,), (1333268122,), (1333268128,), (1333268133,), (1333268139,), (1333268154,), (1333268386,), (1333268345,), (1333268582,), (1333268585,), (1333268589,), (1333268594,), (1333268600,), (1333268608,), (1333268628,), (1333268631,), (1333268635,), (1333268673,), (1333268829,), (1333268839,), (1333268842,), (1333268848,), (1333268851,), (1333268941,), (1333268945,), (1333268947,), (1333268949,), (1333268952,), (1333268954,), (1333269044,), (1333269047,), (1333269051,), (1333269391,), (1333269395,), (1333269396,), (1333269400,), (1333269458,), (1333269525,), (1333269622,), (1333269697,), (1333269716,), (1333269720,), (1333269765,), (1333270370,), (1333270360,), (1333270362,), (1333270364,), (1333270420,), (1333270425,), (1333270429,), (1333270431,), (1333270438,), (1333270446,), (1333271001,), (1333271032,), (1333271148,), (1333271391,), (1333271395,), (1333271399,), (1333271401,), (1333271407,), (1333271413,), (1333271572,), (1333271575,), (1333271577,), (1333271580,), (1333271644,), (1333271648,), (1333271652,), (1333271693,), (1333271738,), (1333271783,), (1333272022,), (1333272278,), (1333272465,), (1333272510,), (1333272513,), (1333272517,), (1333272569,), (1333272636,), (1333272827,), (1333272994,), (1333272999,), (1333273002,), (1333273003,), (1333273008,), (1333273013,), (1333273131,), (1333273135,), (1333273137,), (1333273141,), (1333273276,), (1333273280,), (1333273282,), (1333273285,), (1333273289,), (1333273294,), (1333273581,), (1333273584,), (1333273586,), (1333273632,), (1333273915,), (1333273917,), (1333273921,), (1333273924,), (1333273927,), (1333273967,), (1333273970,), (1333273972,), (1333273975,), (1333274036,), (1333274038,), (1333274041,), (1333274044,), (1333274051,), (1333274054,), (1333274125,), (1333274104,), (1333274108,), (1333274110,), (1333274112,), (1333274161,), (1333274164,), (1333274167,), (1333274171,), (1333274175,), (1333274181,), (1333274452,), (1333274455,), (1333274456,), (1333274557,), (1333274581,), (1333274777,), (1333274781,), (1333274783,), (1333274786,), (1333274790,), (1333274794,), (1333274878,), (1333274887,), (1333274897,), (1333275000,), (1333275055,), (1333275144,), (1333275216,), (1333275279,), (1333275347,), (1333275552,), (1333275555,), (1333275557,), (1333275558,), (1333275772,), (1333275843,), (1333275934,), (1333276022,), (1333276095,), (1333276099,), (1333276277,), (1333276278,), (1333276501,), (1333276757,), (1333277010,), (1333277443,), (1333277552,), (1333277656,), (1333277658,), (1333277662,), (1333277970,), (1333277973,), (1333277977,), (1333277983,), (1333277988,), (1333277993,), (1333278212,), (1333278255,), (1333278259,), (1333278648,), (1333278649,), (1333278650,), (1333278651,), (1333278655,), (1333278659,), (1333278698,), (1333278701,), (1333278704,), (1333278707,), (1333278710,), (1333278749,), (1333278752,), (1333278820,), (1333278823,), (1333278827,), (1333278832,), (1333278931,), (1333278918,), (1333278922,), (1333278927,), (1333279029,), (1333279032,), (1333279035,), (1333279094,), (1333279187,), (1333279502,), (1333279505,), (1333279572,), (1333279610,), (1333279614,), (1333279620,), (1333279764,), (1333279767,), (1333279770,), (1333279775,), (1333279913,), (1333279916,), (1333279919,), (1333279925,), (1333279936,), (1333279941,), (1333279988,), (1333279990,), (1333279992,), (1333279993,), (1333280062,), (1333280076,), (1333280191,), (1333280194,), (1333280198,), (1333280503,), (1333280507,), (1333280514,), (1333280520,), (1333280525,), (1333280535,), (1333280637,), (1333280641,), (1333280644,), (1333280646,), (1333280691,), (1333280694,), (1333280696,), (1333280770,), (1333281709,), (1333281712,), (1333281716,), (1333281719,), (1333281721,), (1333281725,), (1333282208,), (1333282256,), (1333282287,), (1333282298,), (1333282816,), (1333282871,), (1333282872,), (1333282874,), (1333282877,), (1333282965,), (1333283489,), (1333283495,), (1333283500,), (1333283556,), (1333283560,), (1333283565,), (1333283569,), (1333283573,), (1333283623,), (1333283604,), (1333283609,), (1333283614,), (1333283619,), (1333283813,), (1333283819,), (1333283828,), (1333283830,), (1333284163,), (1333284177,), (1333284196,), (1333284199,), (1333284250,), (1333284264,), (1333284560,), (1333284562,), (1333284563,), (1333284613,), (1333284619,), (1333284623,), (1333284673,), (1333284676,), (1333284680,), (1333284682,), (1333284823,), (1333284831,), (1333284834,), (1333284835,), (1333284840,), (1333284889,), (1333285145,), (1333285164,), (1333285167,), (1333285171,), (1333285176,), (1333285323,), (1333285326,), (1333285327,), (1333285474,), (1333285476,), (1333285478,), (1333285481,), (1333285483,), (1333285662,), (1333285664,), (1333285667,), (1333285670,), (1333285678,), (1333285685,), (1333285718,), (1333285721,), (1333285724,), (1333285849,), (1333285854,), (1333285858,), (1333285859,), (1333285863,), (1333285867,), (1333285947,), (1333285980,), (1333285983,), (1333285987,), (1333286024,), (1333286028,), (1333286165,), (1333286150,), (1333286154,), (1333286157,), (1333286161,), (1333286659,), (1333286770,), (1333287001,), (1333287014,), (1333287017,), (1333287063,), (1333287357,), (1333287442,), (1333287484,), (1333287487,), (1333287555,), (1333287743,), (1333287839,), (1333287843,), (1333287846,), (1333287880,), (1333287993,), (1333287996,), (1333288043,), (1333288047,), (1333288099,), (1333288217,), (1333288221,), (1333288294,), (1333288300,), (1333288321,), (1333288466,), (1333288473,), (1333288481,), (1333288585,), (1333288587,), (1333288648,), (1333288682,), (1333288824,), (1333288828,), (1333288829,), (1333288879,), (1333288884,), (1333288912,), (1333289091,), (1333289118,), (1333289167,), (1333289173,), (1333289432,), (1333289434,), (1333289437,), (1333289439,), (1333289530,), (1333289582,), (1333289585,), (1333289589,), (1333289638,), (1333289641,), (1333289643,), (1333289646,), (1333289649,), (1333289690,), (1333289684,), (1333289688,), (1333289836,), (1333289899,), (1333289973,), (1333290046,), (1333290207,), (1333290248,), (1333290261,), (1333290264,), (1333290288,), (1333290293,), (1333290458,), (1333290511,), (1333290529,), (1333290533,), (1333290542,), (1333290650,), (1333290666,), (1333290708,), (1333291279,), (1333291339,), (1333291342,), (1333291345,), (1333291400,), (1333291567,), (1333291610,), (1333291615,), (1333291621,), (1333291626,), (1333291629,), (1333291926,), (1333291944,), (1333291998,), (1333292053,), (1333292279,), (1333292281,), (1333292282,), (1333292284,), (1333292286,), (1333292499,), (1333292502,), (1333292505,), (1333292508,), (1333292511,), (1333292580,), (1333292595,), (1333292753,), (1333292825,), (1333292844,), (1333292851,), (1333292860,), (1333292932,), (1333293050,), (1333293052,), (1333293056,), (1333293059,), (1333293061,), (1333293065,), (1333293093,), (1333293095,), (1333293097,), (1333293138,), (1333293142,), (1333293145,), (1333293147,), (1333293273,), (1333293229,), (1333293231,), (1333293233,), (1333293258,), (1333293650,), (1333293654,), (1333293658,), (1333293723,), (1333293873,), (1333294037,), (1333294215,), (1333294220,), (1333294223,), (1333294224,), (1333294226,), (1333294229,), (1333294261,), (1333294263,), (1333294265,), (1333295665,), (1333295668,), (1333295745,), (1333295817,), (1333296441,), (1333296470,), (1333297208,), (1333297213,), (1333297280,), (1333297284,), (1333297289,), (1333297303,), (1333297304,), (1333297355,), (1333297369,), (1333297390,), (1333297391,), (1333297606,), (1333297593,), (1333297598,), (1333297603,), (1333297779,), (1333297785,), (1333297789,), (1333297791,), (1333297795,), (1333297800,), (1333297858,), (1333297862,), (1333297867,), (1333297872,), (1333297910,), (1333297915,), (1333297917,), (1333297921,), (1333297956,), (1333297959,), (1333297984,), (1333297989,), (1333297992,), (1333297995,), (1333298102,), (1333298196,), (1333298203,), (1333298205,), (1333298236,), (1333298241,), (1333298329,), (1333298337,), (1333298485,), (1333300842,), (1333454403,), (1333454882,), (1333454927,), (1333454931,), (1333454935,), (1333455108,), (1333455111,), (1333455391,), (1333455879,), (1333456948,), (1333456951,), (1333456980,), (1333457019,), (1333457231,), (1333457738,), (1333457739,), (1333457773,), (1333457845,), (1333457925,), (1333458887,), (1333459073,), (1333460202,), (1333460216,), (1333460218,), (1333460221,), (1333460657,), (1333460746,), (1333460752,), (1333460777,), (1333461116,), (1333460988,), (1333461063,), (1333461097,), (1333461108,), (1333461555,), (1333461596,), (1333461695,), (1333462374,), (1333462378,), (1333462381,), (1333462386,), (1333462391,), (1333462617,), (1333462620,), (1333462624,), (1333462628,), (1333462632,), (1333462638,), (1333462668,), (1333462671,), (1333462672,), (1333462674,), (1333462817,), (1333463154,), (1333463157,), (1333463159,), (1333463570,), (1333463603,), (1333463710,), (1333463733,), (1333463738,), (1333463743,), (1333463763,), (1333464094,), (1333464171,), (1333464175,), (1333464177,), (1333464180,), (1333464185,), (1333464189,), (1333464219,), (1333464212,), (1333464215,), (1333464386,), (1333464389,), (1333464392,), (1333464394,), (1333464397,), (1333464402,), (1333465203,), (1333465291,), (1333465460,), (1333465530,), (1333465922,), (1333465926,), (1333465930,), (1333465933,), (1333465939,), (1333466354,), (1333466375,), (1333466381,), (1333466385,), (1333466437,), (1333466564,), (1333466565,), (1333466618,), (1333466621,), (1333466624,), (1333466831,), (1333466835,), (1333466842,), (1333466851,), (1333466862,), (1333466921,), (1333466925,), (1333466933,), (1333467065,), (1333467068,), (1333467070,), (1333467178,), (1333467230,), (1333467234,), (1333467238,), (1333467241,), (1333467335,), (1333467347,), (1333467385,), (1333467387,), (1333467399,), (1333467424,), (1333467462,), (1333467466,), (1333467469,), (1333467480,), (1333467514,), (1333467534,), (1333467700,), (1333467739,), (1333467741,), (1333467745,), (1333467794,), (1333467798,), (1333467825,), (1333467828,), (1333467833,), (1333467837,), (1333467847,), (1333467854,), (1333467890,), (1333467879,), (1333467884,), (1333467992,), (1333468042,), (1333468149,), (1333468207,), (1333468218,), (1333468224,), (1333468398,), (1333468401,), (1333468402,), (1333468404,), (1333468407,), (1333468411,), (1333468463,), (1333468466,), (1333468469,), (1333468643,), (1333468646,), (1333468647,), (1333468650,), (1333468653,), (1333468760,), (1333468763,), (1333468818,), (1333468827,), (1333468833,), (1333469051,), (1333469055,), (1333469058,), (1333469062,), (1333469067,), (1333469075,), (1333469100,), (1333469103,), (1333469149,), (1333469152,), (1333469177,), (1333469181,), (1333469784,), (1333469851,), (1333469895,), (1333469946,), (1333470016,), (1333470054,), (1333470543,), (1333470629,), (1333471588,), (1333471657,), (1333471934,), (1333471937,), (1333471942,), (1333471951,), (1333472157,), (1333472247,), (1333472371,), (1333472456,), (1333472462,), (1333472467,), (1333472477,), (1333472518,), (1333472523,), (1333472529,), (1333472535,), (1333472555,), (1333472548,), (1333472551,), (1333472872,), (1333472874,), (1333472901,), (1333472925,), (1333472927,), (1333472968,), (1333472998,), (1333473023,), (1333473033,), (1333473045,), (1333473049,), (1333473052,), (1333473222,), (1333473224,), (1333473226,), (1333473308,), (1333473310,), (1333473317,), (1333473320,), (1333473325,), (1333473337,), (1333473432,), (1333473437,), (1333473480,), (1333473485,), (1333473859,), (1333473861,), (1333473866,), (1333473872,), (1333473875,), (1333474007,), (1333474089,), (1333474190,), (1333474309,), (1333474347,), (1333474400,), (1333474966,), (1333474984,), (1333475146,), (1333475148,), (1333475150,), (1333475151,), (1333475155,), (1333475208,), (1333475666,), (1333475679,), (1333475717,), (1333475736,), (1333475738,), (1333475741,), (1333475898,), (1333475921,), (1333476121,), (1333476179,), (1333476183,), (1333476186,), (1333476217,), (1333476224,), (1333476276,), (1333476279,), (1333476282,), (1333476286,), (1333476432,), (1333476378,), (1333476425,), (1333476428,), (1333476742,), (1333476766,), (1333476768,), (1333476804,), (1333476808,), (1333476841,), (1333476849,), (1333476850,), (1333476982,), (1333476987,), (1333476993,), (1333477073,), (1333477158,), (1333477161,), (1333477166,), (1333477172,), (1333477181,), (1333477220,), (1333477229,), (1333477238,), (1333477243,), (1333477256,), (1333477261,), (1333477459,), (1333477461,), (1333477483,), (1333477503,), (1333477552,), (1333477555,), (1333477557,), (1333477558,), (1333477560,), (1333477585,), (1333477588,), (1333477590,), (1333477592,), (1333477594,), (1333477597,), (1333477633,), (1333477637,), (1333477640,), (1333477644,), (1333477647,), (1333477749,), (1333477753,), (1333477757,), (1333477783,), (1333477788,), (1333477792,), (1333477795,), (1333477799,), (1333477821,), (1333477823,), (1333477828,), (1333477834,), (1333477839,), (1333477884,), (1333477874,), (1333477878,), (1333477879,), (1333478087,), (1333478091,), (1333478093,), (1333478096,), (1333478150,), (1333478155,), (1333478158,), (1333478161,), (1333478163,), (1333478198,), (1333478202,), (1333478207,), (1333478212,), (1333478214,), (1333478218,), (1333478249,), (1333478253,), (1333478256,), (1333478258,), (1333478285,), (1333478291,), (1333478297,), (1333478301,), (1333478303,), (1333478470,), (1333478472,), (1333478474,), (1333478478,), (1333478481,), (1333478562,), (1333478569,), (1333478572,), (1333478595,), (1333478637,), (1333478701,), (1333478703,), (1333478704,), (1333478709,), (1333478715,), (1333478873,), (1333478905,), (1333478907,), (1333478910,), (1333478949,), (1333478951,), (1333478953,), (1333478955,), (1333479011,), (1333479016,), (1333479018,), (1333479020,), (1333479093,), (1333479116,), (1333479119,), (1333479121,), (1333479124,), (1333479130,), (1333479157,), (1333479160,), (1333479164,), (1333479193,), (1333479194,), (1333479199,), (1333479202,), (1333479215,), (1333479324,), (1333479311,), (1333479313,), (1333479315,), (1333479317,), (1333479321,), (1333479408,), (1333479460,), (1333479462,), (1333479591,), (1333479712,), (1333479845,), (1333479926,), (1333479968,), (1333479977,), (1333480248,), (1333480250,), (1333480253,), (1333480255,), (1333480346,), (1333480347,), (1333480349,), (1333480351,), (1333480783,), (1333480851,), (1333480924,), (1333481030,), (1333481210,), (1333482040,), (1333482113,), (1333482193,), (1333482266,), (1333482340,), (1333482483,), (1333482548,), (1333482719,), (1333482769,), (1333482779,), (1333482797,), (1333482882,), (1333482887,), (1333482891,), (1333482956,), (1333483490,), (1333483492,), (1333483496,), (1333483499,), (1333483508,), (1333483575,), (1333483668,), (1333483670,), (1333483672,), (1333483693,), (1333483705,), (1333483799,), (1333483805,), (1333483814,), (1333484006,), (1333484038,), (1333484069,), (1333484122,), (1333484124,), (1333484130,), (1333567220,), (1333164289,), (1333167335,), (1333167339,), (1333167343,), (1333167348,), (1333167352,), (1333167367,), (1333167446,), (1333167449,), (1333167527,), (1333167596,), (1333167664,), (1333167675,), (1333167695,), (1333167699,), (1333167750,), (1333167813,), (1333167820,), (1333167824,), (1333167830,), (1333167849,), (1333167850,), (1333167857,), (1333167858,), (1333167862,), (1333168030,), (1333168088,), (1333168104,), (1333168111,), (1333168116,), (1333168127,), (1333168137,), (1333183289,), (1333183417,), (1333183568,), (1333183762,), (1333183920,), (1333184342,), (1333184408,), (1333184499,), (1333184569,), (1333184574,), (1333184628,), (1333184821,), (1333184826,), (1333184837,), (1333184849,), (1333184861,), (1333184931,), (1333184973,), (1333184978,), (1333185306,), (1333185313,), (1333185314,), (1333185315,), (1333185319,), (1333185373,), (1333185380,), (1333185476,), (1333185489,), (1333185494,), (1333185536,), (1333185547,), (1333185558,), (1333185574,), (1333185578,), (1333185581,), (1333185695,), (1333164286,), (1333167923,), (1333167956,), (1333168022,), (1333168027,), (1333168029,), (1333168149,), (1333168154,), (1333168157,), (1333168160,), (1333168163,), (1333168165,), (1333168211,), (1333168214,), (1333168216,), (1333168220,), (1333168221,), (1333168225,), (1333181146,), (1333181179,), (1333181181,), (1333181183,), (1333181188,), (1333181190,), (1333181192,), (1333181225,), (1333181230,), (1333181234,), (1333181237,), (1333181242,), (1333181243,), (1333181289,), (1333181293,), (1333181309,), (1333181317,), (1333181344,), (1333181354,), (1333181382,), (1333181437,), (1333181486,), (1333181552,), (1333181628,), (1333181860,), (1333181867,), (1333181910,), (1333181949,), (1333181968,), (1333182026,), (1333182387,), (1333182447,), (1333182455,), (1333182457,), (1333182459,), (1333182460,), (1333182461,), (1333182717,), (1333182725,), (1333183189,), (1333183227,), (1333183237,), (1333164281,), (1333164284,), (1333168176,), (1333168178,), (1333168184,), (1333168190,), (1333168197,), (1333168246,), (1333168248,), (1333168253,), (1333168256,), (1333168278,), (1333168281,), (1333168284,), (1333168301,), (1333168324,), (1333168331,), (1333168332,), (1333168344,), (1333168365,), (1333168392,), (1333168412,), (1333168415,), (1333168420,), (1333168439,), (1333168462,), (1333168467,), (1333168470,), (1333168473,), (1333168476,), (1333168479,), (1333178781,), (1333178784,), (1333178936,), (1333179699,), (1333179908,), (1333179916,), (1333179930,), (1333179938,), (1333179957,), (1333179973,), (1333180200,), (1333180298,), (1333180338,), (1333180350,), (1333180657,), (1333180686,), (1333180722,), (1333180726,), (1333180730,), (1333180734,), (1333180826,), (1333180829,), (1333180838,), (1333180841,), (1333180849,), (1333180861,), (1333180863,), (1333180865,), (1333180920,), (1333180957,), (1333180976,), (1333180983,), (1333180988,), (1333180995,), (1333180999,), (1333181015,), (1333181019,), (1333181023,), (1333181024,), (1333181028,), (1333181033,), (1333181069,), (1333181076,), (1333181079,), (1333181080,), (1333181083,), (1333181086,), (1333181110,), (1333181140,), (1333181142,), (1333164272,), (1333164279,), (1333168489,), (1333168496,), (1333168539,), (1333168544,), (1333168546,), (1333168548,), (1333168619,), (1333168623,), (1333168629,), (1333168634,), (1333168641,), (1333168643,), (1333168713,), (1333168717,), (1333168720,), (1333168724,), (1333168727,), (1333168731,), (1333168739,), (1333168740,), (1333168839,), (1333168844,), (1333168849,), (1333168871,), (1333168879,), (1333168921,), (1333168922,), (1333168924,), (1333168951,), (1333168956,), (1333168984,), (1333168989,), (1333168992,), (1333168994,), (1333169143,), (1333169282,), (1333169741,), (1333169746,), (1333169750,), (1333169755,), (1333169758,), (1333169847,), (1333170008,), (1333170128,), (1333170213,), (1333170221,), (1333170224,), (1333170262,), (1333170315,), (1333170320,), (1333170404,), (1333170425,), (1333170432,), (1333170447,), (1333170474,), (1333170477,), (1333170480,), (1333170481,), (1333170526,), (1333170535,), (1333545932,), (1333546046,), (1333546110,), (1333546162,), (1333546164,), (1333546166,), (1333546189,), (1333565702,), (1333565705,), (1333565733,), (1333565805,), (1333565869,), (1333565907,), (1333565910,), (1333565913,), (1333565916,), (1333565920,), (1333565924,), (1333565969,), (1333565977,), (1333565984,), (1333565986,), (1333566014,), (1333566015,), (1333566046,), (1333566050,), (1333566054,), (1333566058,), (1333566063,), (1333566066,), (1333566108,), (1333566112,), (1333566114,), (1333566116,), (1333566121,), (1333566123,), (1333566164,), (1333566166,), (1333566170,), (1333566174,), (1333566177,), (1333566180,), (1333566262,), (1333566266,), (1333566269,), (1333566272,), (1333566274,), (1333566276,), (1333566370,), (1333566378,), (1333566393,), (1333566395,), (1333566398,), (1333566408,), (1333566446,), (1333566448,), (1333566449,), (1333566450,), (1333566451,), (1333566507,), (1333566658,), (1333566663,), (1333566675,), (1333566740,), (1333566750,), (1333566840,), (1333567127,), (1333567146,), (1333567175,), (1333567178,), (1333567180,), (1333567183,), (1333567218,), (1333545928,), (1333546356,), (1333546514,), (1333546518,), (1333546524,), (1333546528,), (1333546530,), (1333546556,), (1333546559,), (1333546560,), (1333546561,), (1333546562,), (1333546565,), (1333546614,), (1333546630,), (1333546635,), (1333546638,), (1333546648,), (1333546654,), (1333546661,), (1333546663,), (1333546664,), (1333546665,), (1333546666,), (1333546668,), (1333549505,), (1333549703,), (1333549929,), (1333550153,), (1333550228,), (1333550231,), (1333564440,), (1333564443,), (1333564451,), (1333564457,), (1333564463,), (1333564464,), (1333564492,), (1333564493,), (1333564495,), (1333564496,), (1333564497,), (1333564499,), (1333564522,), (1333564526,), (1333564529,), (1333564532,), (1333564539,), (1333564549,), (1333564834,), (1333564868,), (1333564871,), (1333564874,), (1333564927,), (1333564952,), (1333565054,), (1333565056,), (1333565057,), (1333565141,), (1333565145,), (1333565198,), (1333565323,), (1333565400,), (1333565472,), (1333565549,), (1333565570,), (1333565572,), (1333565699,), (1333545921,), (1333545924,), (1333546674,), (1333546677,), (1333546680,), (1333546683,), (1333546685,), (1333546793,), (1333547008,), (1333547015,), (1333547016,), (1333547023,), (1333547027,), (1333547031,), (1333547107,), (1333547110,), (1333547147,), (1333547156,), (1333547162,), (1333547165,), (1333547196,), (1333547259,), (1333547282,), (1333547294,), (1333547337,), (1333547339,), (1333547395,), (1333547396,), (1333547397,), (1333547466,), (1333547470,), (1333547482,), (1333547519,), (1333547524,), (1333547529,), (1333547532,), (1333547534,), (1333547537,), (1333547597,), (1333547600,), (1333547605,), (1333547609,), (1333547613,), (1333547685,), (1333547687,), (1333547688,), (1333547708,), (1333547743,), (1333547759,), (1333548604,), (1333548607,), (1333548610,), (1333548612,), (1333548615,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'31012025': {'nb_upload': 35, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20103345]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] map_info['map_portfolio_photo'] : {20103345: [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619]} final : True mtd_id 4302 list_pids : [1333234156, 1333234103, 1333234099, 1333234096, 1333234092, 1333234089, 1333234086, 1333233731, 1333233727, 1333233723, 1333233721, 1333233717, 1333233665, 1333233663, 1333233661, 1333233597, 1333233583, 1333233568, 1333233557, 1333233555, 1333233548, 1333233506, 1333233465, 1333233388, 1333233367, 1333232649, 1333232647, 1333232369, 1333232367, 1333232353, 1333232346, 1333230821, 1333230817, 1333230811, 1333230619] Looping around the photos to save general results len do output : 1 /20103345Didn'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, '2536661') ('4302', '20103345', '1333234156', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661') ('4302', None, None, None, None, None, None, None, '2536661') ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 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, '20103345', 'None', None, None, None, None, '2536661'), ('4302', '20103345', '1333234156', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234103', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234099', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234096', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234092', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234089', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333234086', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233731', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233727', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233723', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233721', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233717', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233665', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233663', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233661', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233597', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233583', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233568', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233557', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233555', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233548', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233506', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233465', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233388', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333233367', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232649', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232647', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232369', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232367', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232353', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333232346', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230821', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230817', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230811', None, None, None, None, None, '2536661'), ('4302', '20103345', '1333230619', None, None, None, None, None, '2536661')] time used for this insertion : 0.5503602027893066 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.0513241291046143 time spend to save output : 0.5507845878601074 total time spend for step 5 : 3.6021087169647217 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 (2536661) 2.95user 2.45system 0:21.65elapsed 24%CPU (0avgtext+0avgdata 163800maxresident)k 136inputs+31808outputs (1major+76162minor)pagefaults 0swaps