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 : 3736466 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 (2751231) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2751231) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283193 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2751231'] with mtr_portfolio_ids : ['22283193'] and first list_photo_ids : [] new path : /proc/3736466/ Name: python3 Umask: 0002 State: R (running) Tgid: 3736466 Ngid: 0 Pid: 3736466 PPid: 3736462 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 3736466 NSpid: 3736466 NSpgid: 3735032 NSsid: 3735032 VmPeak: 1106936 kB VmSize: 1106936 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98880 kB VmRSS: 98880 kB RssAnon: 59804 kB RssFile: 39076 kB RssShmem: 0 kB VmData: 865684 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 564 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 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: 56 nonvoluntary_ctxt_switches: 108 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '3736466', 'Ngid': '0', 'Pid': '3736466', 'PPid': '3736462', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '3736466', 'NSpid': '3736466', 'NSpgid': '3735032', 'NSsid': '3735032', 'VmPeak': '1106936 kB', 'VmSize': '1106936 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98880 kB', 'VmRSS': '98880 kB', 'RssAnon': '59804 kB', 'RssFile': '39076 kB', 'RssShmem': '0 kB', 'VmData': '865684 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '564 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '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': '56', 'nonvoluntary_ctxt_switches': '108'} ('datou_batch_current', '3736466', '1106936', '0', '1106936', '865684', '98880', b'', 'marlene', '2751231') 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 (22283193) 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 (2751231 ) ) 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 (22283193) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1352519937, 'portfolio_id': 22283193}, {'photo_id': 1352519826, 'portfolio_id': 22283193}, {'photo_id': 1352519798, 'portfolio_id': 22283193}, {'photo_id': 1352519796, 'portfolio_id': 22283193}, {'photo_id': 1352519789, 'portfolio_id': 22283193}, {'photo_id': 1352519665, 'portfolio_id': 22283193}, {'photo_id': 1352519662, 'portfolio_id': 22283193}, {'photo_id': 1352519656, 'portfolio_id': 22283193}, {'photo_id': 1352519651, 'portfolio_id': 22283193}, {'photo_id': 1352519648, 'portfolio_id': 22283193}, {'photo_id': 1352519360, 'portfolio_id': 22283193}, {'photo_id': 1352519333, 'portfolio_id': 22283193}, {'photo_id': 1352519327, 'portfolio_id': 22283193}, {'photo_id': 1352519326, 'portfolio_id': 22283193}, {'photo_id': 1352519306, 'portfolio_id': 22283193}, {'photo_id': 1352519304, 'portfolio_id': 22283193}, {'photo_id': 1352519301, 'portfolio_id': 22283193}, {'photo_id': 1352519189, 'portfolio_id': 22283193}, {'photo_id': 1352519169, 'portfolio_id': 22283193}, {'photo_id': 1352519167, 'portfolio_id': 22283193}, {'photo_id': 1352519165, 'portfolio_id': 22283193}, {'photo_id': 1352519144, 'portfolio_id': 22283193}, {'photo_id': 1352519016, 'portfolio_id': 22283193}, {'photo_id': 1352519012, 'portfolio_id': 22283193}, {'photo_id': 1352519002, 'portfolio_id': 22283193}, {'photo_id': 1352518994, 'portfolio_id': 22283193}, {'photo_id': 1352518970, 'portfolio_id': 22283193}, {'photo_id': 1352518968, 'portfolio_id': 22283193}, {'photo_id': 1352518967, 'portfolio_id': 22283193}, {'photo_id': 1352518966, 'portfolio_id': 22283193}, {'photo_id': 1352518965, 'portfolio_id': 22283193}, {'photo_id': 1352518963, 'portfolio_id': 22283193}, {'photo_id': 1352518827, 'portfolio_id': 22283193}, {'photo_id': 1352518825, 'portfolio_id': 22283193}, {'photo_id': 1352518726, 'portfolio_id': 22283193}] map_portfolio_id_photo_id: {22283193: [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726]} ##### 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.02233719825744629 #### 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 Wed Apr 23 05:34:28 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22283193) 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 : 22283193 get user id for portfolio 22283193 get sub ptf for main ptf 22283193, type 3726 and hashtags ['Teint_Dans_La_Masse', 'mal_croppe', 'flou', 'metal', 'autre_refus', 'papier', 'cartonnette', 'environnement', 'Carton_brun', 'plastique', 'kraft', 'Carton_gris'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22283193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','flou','metal','autre_refus','papier','cartonnette','environnement','Carton_brun','plastique','kraft','Carton_gris')) 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`=22283193 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','flou','metal','autre_refus','papier','cartonnette','environnement','Carton_brun','plastique','kraft','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22283193, 'sub_port_id': 22283195, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747108, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'cartonnette': {'main_port_id': 22283193, 'sub_port_id': 22283196, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747109, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'mal_croppe': {'main_port_id': 22283193, 'sub_port_id': 22283197, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747110, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'metal': {'main_port_id': 22283193, 'sub_port_id': 22283198, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747111, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'plastique': {'main_port_id': 22283193, 'sub_port_id': 22283199, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747112, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'kraft': {'main_port_id': 22283193, 'sub_port_id': 22283200, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747113, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'flou': {'main_port_id': 22283193, 'sub_port_id': 22283201, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747114, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'Carton_brun': {'main_port_id': 22283193, 'sub_port_id': 22283202, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747115, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'autre_refus': {'main_port_id': 22283193, 'sub_port_id': 22283203, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747116, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'Carton_gris': {'main_port_id': 22283193, 'sub_port_id': 22283204, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747117, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'papier': {'main_port_id': 22283193, 'sub_port_id': 22283205, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747118, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}, 'environnement': {'main_port_id': 22283193, 'sub_port_id': 22283206, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747119, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 22283195 , 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=22283193 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 (22283195) result : ((1352519653,), (1352519878,), (1352519879,), (1352519880,), (1352519881,), (1352519882,), (1352519883,), (1352519884,), (1352519885,), (1352519886,), (1352519956,), (1352520208,), (1352520209,), (1352520211,), (1352520212,), (1352520213,), (1352520214,), (1352520296,), (1352520553,), (1352520555,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283196 , 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=22283193 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 (22283196) result : ((1352519655,), (1352519657,), (1352519892,), (1352520219,), (1352520220,), (1352520234,), (1352520235,), (1352520433,), (1352520434,), (1352520435,), (1352520437,), (1352520576,), (1352520577,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283197 , 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=22283193 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 (22283197) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283198 , 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=22283193 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 (22283198) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283199 , 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=22283193 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 (22283199) result : ((1352519660,), (1352520244,), (1352520245,), (1352520591,), (1352520592,), (1352521583,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283200 , 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=22283193 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 (22283200) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283201 , 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=22283193 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 (22283201) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283202 , 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=22283193 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 (22283202) result : ((1352519658,), (1352519958,), (1352520584,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283203 , 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=22283193 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 (22283203) result : ((1352519887,), (1352519888,), (1352519889,), (1352519890,), (1352520224,), (1352520225,), (1352520307,), (1352520413,), (1352520562,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283204 , 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=22283193 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 (22283204) result : ((1352520421,), (1352520422,), (1352520423,), (1352520568,), (1352520570,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283205 , 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=22283193 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 (22283205) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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 22283206 , 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=22283193 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 (22283206) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,)) 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`=22283193 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','flou','metal','autre_refus','papier','cartonnette','environnement','Carton_brun','plastique','kraft','Carton_gris')) 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`=22283193 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Teint_Dans_La_Masse','mal_croppe','flou','metal','autre_refus','papier','cartonnette','environnement','Carton_brun','plastique','kraft','Carton_gris')) AND mptpi.`min_score`=0.5 To do returned map {'Teint_Dans_La_Masse': {'main_port_id': 22283193, 'sub_port_id': 22283207, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747120, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'cartonnette': {'main_port_id': 22283193, 'sub_port_id': 22283208, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747121, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'mal_croppe': {'main_port_id': 22283193, 'sub_port_id': 22283209, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747122, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'metal': {'main_port_id': 22283193, 'sub_port_id': 22283210, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747123, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'plastique': {'main_port_id': 22283193, 'sub_port_id': 22283211, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747124, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'kraft': {'main_port_id': 22283193, 'sub_port_id': 22283212, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747125, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'flou': {'main_port_id': 22283193, 'sub_port_id': 22283213, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747126, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'Carton_brun': {'main_port_id': 22283193, 'sub_port_id': 22283214, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747127, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'autre_refus': {'main_port_id': 22283193, 'sub_port_id': 22283215, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747128, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'Carton_gris': {'main_port_id': 22283193, 'sub_port_id': 22283216, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747129, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'papier': {'main_port_id': 22283193, 'sub_port_id': 22283217, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747130, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 10, 59), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}, 'environnement': {'main_port_id': 22283193, 'sub_port_id': 22283218, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 14747131, 'last_updated_at': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_desc': datetime.datetime(2025, 4, 22, 5, 34, 32), 'last_updated_at_asc': datetime.datetime(2025, 4, 22, 5, 10, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283207,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283195 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283208,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283196 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283209,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283197 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283210,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283198 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283211,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283199 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283212,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283200 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283213,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283201 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283214,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283202 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283215,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283203 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283216,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283204 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283217,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283205 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 22283218,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 22283206 lien utilise dans velours : https://www.fotonower.com/velours/22283207,22283208,22283209,22283210,22283211,22283212,22283213,22283214,22283215,22283216,22283217,22283218?tags=Teint_Dans_La_Masse,cartonnette,mal_croppe,metal,plastique,kraft,flou,Carton_brun,autre_refus,Carton_gris,papier,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22283193]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] map_info['map_portfolio_photo'] : {22283193: [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726]} final : False mtd_id 4302 list_pids : [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] Looping around the photos to save general results len do output : 1 /22283193. 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, '2751231') ('4302', '22283193', '1352519937', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231') 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, '22283193', "{'Teint_Dans_La_Masse': 22283195, 'cartonnette': 22283196, 'mal_croppe': 22283197, 'metal': 22283198, 'plastique': 22283199, 'kraft': 22283200, 'flou': 22283201, 'Carton_brun': 22283202, 'autre_refus': 22283203, 'Carton_gris': 22283204, 'papier': 22283205, 'environnement': 22283206}", None, None, None, None, '2751231'), ('4302', '22283193', '1352519937', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231')] time used for this insertion : 0.022655010223388672 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4310827255249023 time spend to save output : 0.023075580596923828 total time spend for step 1 : 1.4541583061218262 step2:final Wed Apr 23 05:34:30 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 (22283193) 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 22283193 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1352518726,1352518827,1352518825,1352518970,1352518968,1352518967,1352518966,1352518965,1352518963,1352519016,1352519012,1352519002,1352518994,1352519189,1352519169,1352519167,1352519165,1352519144,1352519306,1352519304,1352519301,1352519360,1352519333,1352519327,1352519326,1352519665,1352519662,1352519656,1352519651,1352519648,1352519826,1352519798,1352519796,1352519789,1352519937); 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([22283193]) Inside saveOutput : final : False verbose : True original output for save of step final : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} new output for save of step final : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] map_info['map_portfolio_photo'] : {22283193: [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726]} final : False mtd_id 4302 list_pids : [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] Looping around the photos to save general results len do output : 35 /1352519937.Didn't retrieve data . /1352519826.Didn't retrieve data . /1352519798.Didn't retrieve data . /1352519796.Didn't retrieve data . /1352519789.Didn't retrieve data . /1352519665.Didn't retrieve data . /1352519662.Didn't retrieve data . /1352519656.Didn't retrieve data . /1352519651.Didn't retrieve data . /1352519648.Didn't retrieve data . /1352519360.Didn't retrieve data . /1352519333.Didn't retrieve data . /1352519327.Didn't retrieve data . /1352519326.Didn't retrieve data . /1352519306.Didn't retrieve data . /1352519304.Didn't retrieve data . /1352519301.Didn't retrieve data . /1352519189.Didn't retrieve data . /1352519169.Didn't retrieve data . /1352519167.Didn't retrieve data . /1352519165.Didn't retrieve data . /1352519144.Didn't retrieve data . /1352519016.Didn't retrieve data . /1352519012.Didn't retrieve data . /1352519002.Didn't retrieve data . /1352518994.Didn't retrieve data . /1352518970.Didn't retrieve data . /1352518968.Didn't retrieve data . /1352518967.Didn't retrieve data . /1352518966.Didn't retrieve data . /1352518965.Didn't retrieve data . /1352518963.Didn't retrieve data . /1352518827.Didn't retrieve data . /1352518825.Didn't retrieve data . /1352518726.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, '2751231') ('4302', '22283193', '1352519937', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231') 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', '22283193', '1352519937', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519826', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519798', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519796', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519789', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519665', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519662', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519656', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519651', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519648', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519360', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519333', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519327', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519326', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519306', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519304', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519301', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519189', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519169', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519167', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519165', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519144', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519016', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519012', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352519002', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518994', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518970', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518968', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518967', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518966', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518965', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518963', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518827', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518825', '0.06962585916446648', None, None, None, None, '2751231'), ('4302', '22283193', '1352518726', '0.06962585916446648', None, None, None, None, '2751231')] time used for this insertion : 0.023363590240478516 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06325173377990723 time spend to save output : 0.025451183319091797 total time spend for step 2 : 0.08870291709899902 step3:velours_tree Wed Apr 23 05:34:30 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 : {22283193: [{'Teint_Dans_La_Masse': 22283195, 'cartonnette': 22283196, 'mal_croppe': 22283197, 'metal': 22283198, 'plastique': 22283199, 'kraft': 22283200, 'flou': 22283201, 'Carton_brun': 22283202, 'autre_refus': 22283203, 'Carton_gris': 22283204, 'papier': 22283205, 'environnement': 22283206}]} input_args_next_step : {22283193: ()} output_args : {22283193: [{'Teint_Dans_La_Masse': 22283195, 'cartonnette': 22283196, 'mal_croppe': 22283197, 'metal': 22283198, 'plastique': 22283199, 'kraft': 22283200, 'flou': 22283201, 'Carton_brun': 22283202, 'autre_refus': 22283203, 'Carton_gris': 22283204, 'papier': 22283205, 'environnement': 22283206}]} args : 22283193 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 : ({'Teint_Dans_La_Masse': 22283195, 'cartonnette': 22283196, 'mal_croppe': 22283197, 'metal': 22283198, 'plastique': 22283199, 'kraft': 22283200, 'flou': 22283201, 'Carton_brun': 22283202, 'autre_refus': 22283203, 'Carton_gris': 22283204, 'papier': 22283205, 'environnement': 22283206},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22283193) 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([22283193]) 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.2725515365600586 time spend to save output : 4.029273986816406e-05 total time spend for step 3 : 0.27259182929992676 step4:send_mail_cod Wed Apr 23 05:34:30 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 : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} input_args_next_step : {1352519937: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519937 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519826 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519798 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519796 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519789 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519665 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519662 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519656 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519651 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519648 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519360 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519333 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519327 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519326 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519306 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519304 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519301 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519189 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519169 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519167 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519165 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519144 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519016 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519012 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352519002 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518994 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518970 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518968 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518967 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518966 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518965 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518963 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518827 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518825 depend.output_id : 0 input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ()} output_args : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',)} args : 1352518726 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 : {22283193: [{'Teint_Dans_La_Masse': 22283195, 'cartonnette': 22283196, 'mal_croppe': 22283197, 'metal': 22283198, 'plastique': 22283199, 'kraft': 22283200, 'flou': 22283201, 'Carton_brun': 22283202, 'autre_refus': 22283203, 'Carton_gris': 22283204, 'papier': 22283205, 'environnement': 22283206}]} input_args_next_step : {1352519937: ('0.06962585916446648',), 1352519826: ('0.06962585916446648',), 1352519798: ('0.06962585916446648',), 1352519796: ('0.06962585916446648',), 1352519789: ('0.06962585916446648',), 1352519665: ('0.06962585916446648',), 1352519662: ('0.06962585916446648',), 1352519656: ('0.06962585916446648',), 1352519651: ('0.06962585916446648',), 1352519648: ('0.06962585916446648',), 1352519360: ('0.06962585916446648',), 1352519333: ('0.06962585916446648',), 1352519327: ('0.06962585916446648',), 1352519326: ('0.06962585916446648',), 1352519306: ('0.06962585916446648',), 1352519304: ('0.06962585916446648',), 1352519301: ('0.06962585916446648',), 1352519189: ('0.06962585916446648',), 1352519169: ('0.06962585916446648',), 1352519167: ('0.06962585916446648',), 1352519165: ('0.06962585916446648',), 1352519144: ('0.06962585916446648',), 1352519016: ('0.06962585916446648',), 1352519012: ('0.06962585916446648',), 1352519002: ('0.06962585916446648',), 1352518994: ('0.06962585916446648',), 1352518970: ('0.06962585916446648',), 1352518968: ('0.06962585916446648',), 1352518967: ('0.06962585916446648',), 1352518966: ('0.06962585916446648',), 1352518965: ('0.06962585916446648',), 1352518963: ('0.06962585916446648',), 1352518827: ('0.06962585916446648',), 1352518825: ('0.06962585916446648',), 1352518726: ('0.06962585916446648',), 22283193: ()} output_args : {22283193: [{'Teint_Dans_La_Masse': 22283195, 'cartonnette': 22283196, 'mal_croppe': 22283197, 'metal': 22283198, 'plastique': 22283199, 'kraft': 22283200, 'flou': 22283201, 'Carton_brun': 22283202, 'autre_refus': 22283203, 'Carton_gris': 22283204, 'papier': 22283205, 'environnement': 22283206}]} args : 22283193 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.06962585916446648',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22283193) 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 (1352519937,1352519826,1352519798,1352519796,1352519789,1352519665,1352519662,1352519656,1352519651,1352519648,1352519360,1352519333,1352519327,1352519326,1352519306,1352519304,1352519301,1352519189,1352519169,1352519167,1352519165,1352519144,1352519016,1352519012,1352519002,1352518994,1352518970,1352518968,1352518967,1352518966,1352518965,1352518963,1352518827,1352518825,1352518726) Found this number of photos: 35 ##### Call download_photos : nb_thread : 5 begin to download photo : 1352518726 begin to download photo : 1352518970 begin to download photo : 1352519169 begin to download photo : 1352519360 begin to download photo : 1352519798 download finish for photo 1352519360 begin to download photo : 1352519648 download finish for photo 1352518726 begin to download photo : 1352518825 download finish for photo 1352519798 begin to download photo : 1352519826 download finish for photo 1352518970 begin to download photo : 1352518994 download finish for photo 1352519169 begin to download photo : 1352519189 download finish for photo 1352518825 begin to download photo : 1352518827 download finish for photo 1352519648 begin to download photo : 1352519651 download finish for photo 1352518994 begin to download photo : 1352519002 download finish for photo 1352519826 begin to download photo : 1352519937 download finish for photo 1352519189 begin to download photo : 1352519301 download finish for photo 1352518827 begin to download photo : 1352518963 download finish for photo 1352519651 begin to download photo : 1352519656 download finish for photo 1352519002 begin to download photo : 1352519012 download finish for photo 1352519937 download finish for photo 1352519301 begin to download photo : 1352519304 download finish for photo 1352519012 begin to download photo : 1352519016 download finish for photo 1352519656 begin to download photo : 1352519662 download finish for photo 1352518963 begin to download photo : 1352518965 download finish for photo 1352519304 begin to download photo : 1352519306 download finish for photo 1352519662 begin to download photo : 1352519665 download finish for photo 1352519016 begin to download photo : 1352519144 download finish for photo 1352518965 begin to download photo : 1352518966 download finish for photo 1352519144 begin to download photo : 1352519165 download finish for photo 1352519306 begin to download photo : 1352519326 download finish for photo 1352519665 begin to download photo : 1352519789 download finish for photo 1352518966 begin to download photo : 1352518967 download finish for photo 1352519165 begin to download photo : 1352519167 download finish for photo 1352519789 begin to download photo : 1352519796 download finish for photo 1352518967 begin to download photo : 1352518968 download finish for photo 1352519326 begin to download photo : 1352519327 download finish for photo 1352519167 download finish for photo 1352518968 download finish for photo 1352519796 download finish for photo 1352519327 begin to download photo : 1352519333 download finish for photo 1352519333 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_P22283193_23-04-2025_05_34_31.pdf 22283196 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=22283196 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352519655: '1745291621_415246_1352519169_d1c6a1ef39badb04163f994006bba511_rle_crop_3762461529_0.png', 1352519657: '1745291621_415246_1352519165_7a71f20936b1527efd5a44f3b3d114b0_rle_crop_3762461550_0.png', 1352519892: '1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465753_0.png', 1352520219: '1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467881_0.png', 1352520220: '1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467882_0.png', 1352520234: '1745291821_2789112_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906_rle_crop_3762467835_0.png', 1352520235: '1745291821_2789112_1352519656_b92189aa4f71714433fcb797c9295694_rle_crop_3762467852_0.png', 1352520433: '1745291891_2789982_1352519189_429b64c12d79bb1e761188c6a4ccfc94_rle_crop_3762466392_0.png', 1352520434: '1745291891_2789982_1352519012_38120e16a090fa1b4d8aba82bb73221b_rle_crop_3762466407_0.png', 1352520435: '1745291891_2789982_1352519012_38120e16a090fa1b4d8aba82bb73221b_rle_crop_3762466404_0.png', 1352520437: '1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466436_0.png', 1352520576: '1745291952_2790625_1352519016_f5e02e9bc7f129e3c467df42e9361ae6_rle_crop_3762468405_0.png', 1352520577: '1745291952_2790625_1352518965_32533e02b56465f76cb7654f1fe6a0e1_rle_crop_3762468537_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/5889eb9f7aed05a26f818f0d3fd44f57_67283489.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/b0514a940054185e2c848b818d71a37d_72197383.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/979d0fb5900bfc2e62c90fc18f017bfe_92624311.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/78d9160d3e48253735a70841ee89ed5a_38503007.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2856f9c54b4fbb2a5997cf57027e32da_98638308.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/50e80cfa7ab5c45cfe9f24db25b647ee_7712503.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/1438e8ff4766cf0c0d91f7846c33f204_82065443.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/af427c7ca42fb160f69ca4b85fa93893_65190072.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/766c7a38f41b2b913f988e31342879f4_75575809.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/46ca23f9ad62867af368e22da71dbb47_58334168.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d367f993bc70b66d9515f35ba748721f_51794027.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e5c8230e65f578b3e26de6781cb782f2_85192952.png change filename to text .imagette222831961745379271/ imagette222831961745379271/1745291952_2790625_1352519016_f5e02e9bc7f129e3c467df42e9361ae6_rle_crop_3762468405_0.png.png imagette222831961745379271/1745291952_2790625_1352518965_32533e02b56465f76cb7654f1fe6a0e1_rle_crop_3762468537_0.png.png imagette222831961745379271/1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465753_0.png.png imagette222831961745379271/1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467882_0.png.png imagette222831961745379271/1745291621_415246_1352519165_7a71f20936b1527efd5a44f3b3d114b0_rle_crop_3762461550_0.png.png imagette222831961745379271/1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467881_0.png.png imagette222831961745379271/1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466436_0.png.png imagette222831961745379271/1745291821_2789112_1352519656_b92189aa4f71714433fcb797c9295694_rle_crop_3762467852_0.png.png imagette222831961745379271/1745291891_2789982_1352519012_38120e16a090fa1b4d8aba82bb73221b_rle_crop_3762466404_0.png.png imagette222831961745379271/1745291891_2789982_1352519189_429b64c12d79bb1e761188c6a4ccfc94_rle_crop_3762466392_0.png.png imagette222831961745379271/1745291621_415246_1352519169_d1c6a1ef39badb04163f994006bba511_rle_crop_3762461529_0.png.png imagette222831961745379271/1745291891_2789982_1352519012_38120e16a090fa1b4d8aba82bb73221b_rle_crop_3762466407_0.png.png imagette222831961745379271/1745291821_2789112_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906_rle_crop_3762467835_0.png.png imagette222831971745379273/ imagette222831981745379273/ wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/998f63f28317177e79f15ec2b9389441_98530176.png imagette222831961745379271 22283197 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=22283197 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222831971745379273 22283198 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=22283198 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222831981745379273 22283199 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=22283199 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352519660: '1745291621_415246_1352519165_7a71f20936b1527efd5a44f3b3d114b0_rle_crop_3762461553_0.png', 1352520244: '1745291821_2789112_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906_rle_crop_3762467828_0.png', 1352520245: '1745291821_2789112_1352519648_713c21a4e5628188be6b69e3fdafcd3c_rle_crop_3762467898_0.png', 1352520591: '1745291952_2790625_1352518965_32533e02b56465f76cb7654f1fe6a0e1_rle_crop_3762468547_0.png', 1352520592: '1745291952_2790625_1352518963_b0899ac59fadfcffcf54c4a45de3361f_rle_crop_3762468572_0.png', 1352521583: '1745292130_2792339_1352519937_f7cab458b4dc7f564a506b8b2f964048_rle_crop_3762471653_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8ad24ca42b811b680dde6d164346619a_68855318.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/0e9bb0fc650bd355d9be6fe71407e084_68273920.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/904813b97fba8b3c67679dcb093ea323_66707857.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d196c296d1613a4ffb871ff0613edbfd_83366576.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/51832470087d8e2a859df5455e6fd64b_14589924.png change filename to text .imagette222831991745379273/ imagette222831991745379273/1745291952_2790625_1352518965_32533e02b56465f76cb7654f1fe6a0e1_rle_crop_3762468547_0.png.png imagette222831991745379273/1745291821_2789112_1352519648_713c21a4e5628188be6b69e3fdafcd3c_rle_crop_3762467898_0.png.png imagette222831991745379273/1745291952_2790625_1352518963_b0899ac59fadfcffcf54c4a45de3361f_rle_crop_3762468572_0.png.png imagette222831991745379273/1745291621_415246_1352519165_7a71f20936b1527efd5a44f3b3d114b0_rle_crop_3762461553_0.png.png imagette222831991745379273/1745292130_2792339_1352519937_f7cab458b4dc7f564a506b8b2f964048_rle_crop_3762471653_0.png.png imagette222831991745379273/1745291821_2789112_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906_rle_crop_3762467828_0.png.png imagette222832001745379274/ imagette222832011745379274/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d37d0cdf221237e106dd500714459f46_55896224.png imagette222831991745379273 22283200 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=22283200 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222832001745379274 22283201 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=22283201 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette222832011745379274 22283203 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=22283203 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352519887: '1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465767_0.png', 1352519888: '1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465769_0.png', 1352519889: '1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465768_0.png', 1352519890: '1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465772_0.png', 1352520224: '1745291821_2789112_1352519662_f20d4c2c094fb892ce510776561752ee_rle_crop_3762467844_0.png', 1352520225: '1745291821_2789112_1352519656_b92189aa4f71714433fcb797c9295694_rle_crop_3762467853_0.png', 1352520307: '1745291862_420231_1352519665_454a3cabcf63cbc3795efb2182ddd85e_rle_crop_3762468026_0.png', 1352520413: '1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466445_0.png', 1352520562: '1745291952_2790625_1352519016_f5e02e9bc7f129e3c467df42e9361ae6_rle_crop_3762468407_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/15cf3748cd978efa6bfe2d13aeee22d6_13219567.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6dbdf9bad30569fd9e9906531157e68f_31158427.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f89bf8562d87625429e7a991b42fab4a_93848326.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/7d9c25836b52c8c21f50716b60e7b3bb_10923307.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c67629f23fabc13082568877044311ee_72385521.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/0403115bdebaf5475496a2215716fa93_41428122.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a88e84681346c94d0dfa7324b3d46597_51398948.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ee7b5db7deeb126f77147d7e8c69d288_38323540.png change filename to text .imagette222832031745379274/ imagette222832031745379274/1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465767_0.png.png imagette222832031745379274/1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465769_0.png.png imagette222832031745379274/1745291821_2789112_1352519656_b92189aa4f71714433fcb797c9295694_rle_crop_3762467853_0.png.png imagette222832031745379274/1745291952_2790625_1352519016_f5e02e9bc7f129e3c467df42e9361ae6_rle_crop_3762468407_0.png.png imagette222832031745379274/1745291862_420231_1352519665_454a3cabcf63cbc3795efb2182ddd85e_rle_crop_3762468026_0.png.png imagette222832031745379274/1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465768_0.png.png imagette222832031745379274/1745291821_2789112_1352519662_f20d4c2c094fb892ce510776561752ee_rle_crop_3762467844_0.png.png imagette222832031745379274/1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466445_0.png.png imagette222832031745379274/1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465772_0.png.png wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/fefe08b870712994776b2a7805a365f8_64993340.png imagette222832031745379274 22283195 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=22283195 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352519956: '1745291742_418157_1352519360_24658b5d7256b5fa510ee42465dc3ba0_rle_crop_3762466428_0.png', 1352520555: '1745291952_2790625_1352518965_32533e02b56465f76cb7654f1fe6a0e1_rle_crop_3762468548_0.png', 1352520553: '1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468520_0.png', 1352520296: '1745291862_420231_1352519665_454a3cabcf63cbc3795efb2182ddd85e_rle_crop_3762468028_0.png', 1352520214: '1745291821_2789112_1352519648_713c21a4e5628188be6b69e3fdafcd3c_rle_crop_3762467904_0.png', 1352520213: '1745291821_2789112_1352519651_f37aee282b160f1c4fef74839bbbba5c_rle_crop_3762467871_0.png', 1352520212: '1745291821_2789112_1352519651_f37aee282b160f1c4fef74839bbbba5c_rle_crop_3762467875_0.png', 1352520211: '1745291821_2789112_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906_rle_crop_3762467830_0.png', 1352520209: '1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467884_0.png', 1352520208: '1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467885_0.png', 1352519653: '1745291621_415246_1352519167_42a80803e7d320b3497edb73358a521f_rle_crop_3762461543_0.png', 1352519886: '1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465774_0.png', 1352519885: '1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465776_0.png', 1352519884: '1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465756_0.png', 1352519883: '1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465762_0.png', 1352519882: '1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465754_0.png', 1352519881: '1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465758_0.png', 1352519880: '1745291711_2787934_1352519333_b6dafbe89975a3f074d11541392956c6_rle_crop_3762465700_0.png', 1352519879: '1745291711_2787934_1352519333_b6dafbe89975a3f074d11541392956c6_rle_crop_3762465699_0.png', 1352519878: '1745291711_2787934_1352519333_b6dafbe89975a3f074d11541392956c6_rle_crop_3762465703_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/24d984abf7c1d1d04c709831cc470670_49129427.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/c5d67824c04de39cd6d79e409c0a58b2_60469613.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/7b63e53232b8ac15eb70e019d60aea48_25200033.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/4a1537fb2cd910a6a1f5352da6160620_97105749.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f1b1b311c9155640d9c266327dc6677d_69468223.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/85a22b8a866326a2a199259d565a77fa_93734384.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d52bdeac298fb2ebd9be993e9d1f0607_27589842.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bb8dca89755a17a291ffe7bd817cefb0_17389855.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8597bb747d7a5a9ee5a464f3723e6b66_11738930.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ca7f8cd55f931d1658a13613de62e5c7_64655880.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8c1623a2c39f3d1efb590e2aaefce174_89345588.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/a72071d66cdce883edc3301e547f3222_85213862.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/147990b66cb6903b5e418c7c5599600a_86123652.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/45c13bc18c2a9daee9807f3fed7c5b2c_47752236.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/8d1909202418b746a551f53f6d84586d_34349238.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/bea30feee46674e4a0c4ae072e0fdda8_14823614.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f3962e8d9af1e5add76c156e82c47b6d_11353529.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e146e292d89c1140ada0768707db5092_87490363.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ea115a92062d9ea6715d51edf070a873_21175240.png change filename to text .imagette222831951745379275/ imagette222831951745379275/1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467885_0.png.png imagette222831951745379275/1745291711_2787934_1352519333_b6dafbe89975a3f074d11541392956c6_rle_crop_3762465699_0.png.png imagette222831951745379275/1745291821_2789112_1352519651_f37aee282b160f1c4fef74839bbbba5c_rle_crop_3762467875_0.png.png imagette222831951745379275/1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465774_0.png.png imagette222831951745379275/1745291831_2789271_1352519798_b964718e6b1ddd021addde34a2bc95b7_rle_crop_3762467884_0.png.png imagette222831951745379275/1745291821_2789112_1352519651_f37aee282b160f1c4fef74839bbbba5c_rle_crop_3762467871_0.png.png imagette222831951745379275/1745291711_2787934_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f_rle_crop_3762465776_0.png.png imagette222831951745379275/1745291621_415246_1352519167_42a80803e7d320b3497edb73358a521f_rle_crop_3762461543_0.png.png imagette222831951745379275/1745291711_2787934_1352519333_b6dafbe89975a3f074d11541392956c6_rle_crop_3762465700_0.png.png imagette222831951745379275/1745291862_420231_1352519665_454a3cabcf63cbc3795efb2182ddd85e_rle_crop_3762468028_0.png.png imagette222831951745379275/1745291711_2787934_1352519333_b6dafbe89975a3f074d11541392956c6_rle_crop_3762465703_0.png.png imagette222831951745379275/1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468520_0.png.png imagette222831951745379275/1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465758_0.png.png imagette222831951745379275/1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465756_0.png.png imagette222831951745379275/1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465762_0.png.png imagette222831951745379275/1745291821_2789112_1352519648_713c21a4e5628188be6b69e3fdafcd3c_rle_crop_3762467904_0.png.png imagette222831951745379275/1745291711_2787934_1352519327_94963ad987ba4274cb4b57481da4f0f2_rle_crop_3762465754_0.png.png imagette222831951745379275/1745291821_2789112_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906_rle_crop_3762467830_0.png.png imagette222831951745379275/1745291952_2790625_1352518965_32533e02b56465f76cb7654f1fe6a0e1_rle_crop_3762468548_0.png.png imagette222831951745379275/1745291742_418157_1352519360_24658b5d7256b5fa510ee42465dc3ba0_rle_crop_3762466428_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/22c8a01ee588d673c5e9ff55dfea73f2_2009733.png imagette222831951745379275 22283202 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=22283202 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352519658: '1745291621_415246_1352519144_4bd56be6cd13cb223bb65874e57e9426_rle_crop_3762461571_0.png', 1352519958: '1745291742_418157_1352519360_24658b5d7256b5fa510ee42465dc3ba0_rle_crop_3762466422_0.png', 1352520584: '1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468523_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d40666c1b4e54274695236e4c41fd937_64753175.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2ee2768e1217e2008598eac22c094f5c_99122803.png change filename to text .imagette222832021745379278/ imagette222832021745379278/1745291621_415246_1352519144_4bd56be6cd13cb223bb65874e57e9426_rle_crop_3762461571_0.png.png imagette222832021745379278/1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468523_0.png.png imagette222832021745379278/1745291742_418157_1352519360_24658b5d7256b5fa510ee42465dc3ba0_rle_crop_3762466422_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/5b7e3927d278e6c48952aa02356e2b56_33625459.png imagette222832021745379278 22283204 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=22283204 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1352520421: '1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466438_0.png', 1352520422: '1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466435_0.png', 1352520423: '1745291891_2789982_1352518994_29b5cb80a435d1b09cd7bd33c0d5d50e_rle_crop_3762466457_0.png', 1352520568: '1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468514_0.png', 1352520570: '1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468515_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/f46022d26392b91ef0e7d45c7a8886e3_69193654.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ac1e1cb0817466807b043025f0885703_62487239.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/d449be30fe6f6b0bb7fd9baa081913c2_79582944.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/ba5a0bad5ccc8fe08f1a1edcdf2e8c4b_16828276.png change filename to text .imagette222832041745379279/ imagette222832041745379279/1745291891_2789982_1352518994_29b5cb80a435d1b09cd7bd33c0d5d50e_rle_crop_3762466457_0.png.png imagette222832041745379279/1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468515_0.png.png imagette222832041745379279/1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466438_0.png.png imagette222832041745379279/1745291952_2790625_1352518966_f06d54a2f456cef27ca839b952be50e2_rle_crop_3762468514_0.png.png imagette222832041745379279/1745291891_2789982_1352519002_0fd9f7ad2338044fc8243979c7616ce5_rle_crop_3762466435_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/363db12e2bf0685e5067292f14184bde_67447477.png imagette222832041745379279 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=22283193 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/22283207,22283208,22283209,22283210,22283211,22283212,22283213,22283214,22283215,22283216,22283217,22283218?tags=Teint_Dans_La_Masse,cartonnette,mal_croppe,metal,plastique,kraft,flou,Carton_brun,autre_refus,Carton_gris,papier,environnement your option no_mail is active, we will not send the real mail to your client args[1352519937] : ('0.06962585916446648',) no score found for photo 1352519937 We are sending mail with results at report@fotonower.com args[1352519826] : ('0.06962585916446648',) no score found for photo 1352519826 We are sending mail with results at report@fotonower.com args[1352519798] : ('0.06962585916446648',) no score found for photo 1352519798 We are sending mail with results at report@fotonower.com args[1352519796] : ('0.06962585916446648',) no score found for photo 1352519796 We are sending mail with results at report@fotonower.com args[1352519789] : ('0.06962585916446648',) no score found for photo 1352519789 We are sending mail with results at report@fotonower.com args[1352519665] : ('0.06962585916446648',) no score found for photo 1352519665 We are sending mail with results at report@fotonower.com args[1352519662] : ('0.06962585916446648',) no score found for photo 1352519662 We are sending mail with results at report@fotonower.com args[1352519656] : ('0.06962585916446648',) no score found for photo 1352519656 We are sending mail with results at report@fotonower.com args[1352519651] : ('0.06962585916446648',) no score found for photo 1352519651 We are sending mail with results at report@fotonower.com args[1352519648] : ('0.06962585916446648',) no score found for photo 1352519648 We are sending mail with results at report@fotonower.com args[1352519360] : ('0.06962585916446648',) no score found for photo 1352519360 We are sending mail with results at report@fotonower.com args[1352519333] : ('0.06962585916446648',) no score found for photo 1352519333 We are sending mail with results at report@fotonower.com args[1352519327] : ('0.06962585916446648',) no score found for photo 1352519327 We are sending mail with results at report@fotonower.com args[1352519326] : ('0.06962585916446648',) no score found for photo 1352519326 We are sending mail with results at report@fotonower.com args[1352519306] : ('0.06962585916446648',) no score found for photo 1352519306 We are sending mail with results at report@fotonower.com args[1352519304] : ('0.06962585916446648',) no score found for photo 1352519304 We are sending mail with results at report@fotonower.com args[1352519301] : ('0.06962585916446648',) no score found for photo 1352519301 We are sending mail with results at report@fotonower.com args[1352519189] : ('0.06962585916446648',) no score found for photo 1352519189 We are sending mail with results at report@fotonower.com args[1352519169] : ('0.06962585916446648',) no score found for photo 1352519169 We are sending mail with results at report@fotonower.com args[1352519167] : ('0.06962585916446648',) no score found for photo 1352519167 We are sending mail with results at report@fotonower.com args[1352519165] : ('0.06962585916446648',) no score found for photo 1352519165 We are sending mail with results at report@fotonower.com args[1352519144] : ('0.06962585916446648',) no score found for photo 1352519144 We are sending mail with results at report@fotonower.com args[1352519016] : ('0.06962585916446648',) no score found for photo 1352519016 We are sending mail with results at report@fotonower.com args[1352519012] : ('0.06962585916446648',) no score found for photo 1352519012 We are sending mail with results at report@fotonower.com args[1352519002] : ('0.06962585916446648',) no score found for photo 1352519002 We are sending mail with results at report@fotonower.com args[1352518994] : ('0.06962585916446648',) no score found for photo 1352518994 We are sending mail with results at report@fotonower.com args[1352518970] : ('0.06962585916446648',) no score found for photo 1352518970 We are sending mail with results at report@fotonower.com args[1352518968] : ('0.06962585916446648',) no score found for photo 1352518968 We are sending mail with results at report@fotonower.com args[1352518967] : ('0.06962585916446648',) no score found for photo 1352518967 We are sending mail with results at report@fotonower.com args[1352518966] : ('0.06962585916446648',) no score found for photo 1352518966 We are sending mail with results at report@fotonower.com args[1352518965] : ('0.06962585916446648',) no score found for photo 1352518965 We are sending mail with results at report@fotonower.com args[1352518963] : ('0.06962585916446648',) no score found for photo 1352518963 We are sending mail with results at report@fotonower.com args[1352518827] : ('0.06962585916446648',) no score found for photo 1352518827 We are sending mail with results at report@fotonower.com args[1352518825] : ('0.06962585916446648',) no score found for photo 1352518825 We are sending mail with results at report@fotonower.com args[1352518726] : ('0.06962585916446648',) no score found for photo 1352518726 We are sending mail with results at report@fotonower.com refus_total : 0.06962585916446648 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=22283193 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_P22283193_23-04-2025_05_34_31.pdf results_Auto_P22283193_23-04-2025_05_34_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','22283193','results_Auto_P22283193_23-04-2025_05_34_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf','pdf','','0.44','0.06962585916446648') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([22283193]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] map_info['map_portfolio_photo'] : {22283193: [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726]} final : False mtd_id 4302 list_pids : [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] 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, '2751231') ('4302', '22283193', '1352519937', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231') 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', '22283193', '1352519937', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231')] time used for this insertion : 0.01846480369567871 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.156901836395264 time spend to save output : 0.018871784210205078 total time spend for step 4 : 11.175773620605469 step5:split_time_score Wed Apr 23 05:34:41 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 : ['22283193'] 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 : [('22283193',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (22283193) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1352519798: {'path': 'temp/1745379270_3736466_1352519798_b964718e6b1ddd021addde34a2bc95b7.jpg', 'extension': 'jpg'}, 1352519826: {'path': 'temp/1745379270_3736466_1352519826_ff2bd6765337b50d6dbb3f2f31b6e906.jpg', 'extension': 'jpg'}, 1352519937: {'path': 'temp/1745379270_3736466_1352519937_f7cab458b4dc7f564a506b8b2f964048.jpg', 'extension': 'jpg'}, 1352518970: {'path': 'temp/1745379270_3736466_1352518970_6cd28bb607e2d689c690f07bf4e67f46.jpg', 'extension': 'jpg'}, 1352518994: {'path': 'temp/1745379270_3736466_1352518994_29b5cb80a435d1b09cd7bd33c0d5d50e.jpg', 'extension': 'jpg'}, 1352519002: {'path': 'temp/1745379270_3736466_1352519002_0fd9f7ad2338044fc8243979c7616ce5.jpg', 'extension': 'jpg'}, 1352519012: {'path': 'temp/1745379270_3736466_1352519012_38120e16a090fa1b4d8aba82bb73221b.jpg', 'extension': 'jpg'}, 1352519016: {'path': 'temp/1745379270_3736466_1352519016_f5e02e9bc7f129e3c467df42e9361ae6.jpg', 'extension': 'jpg'}, 1352519144: {'path': 'temp/1745379270_3736466_1352519144_4bd56be6cd13cb223bb65874e57e9426.jpg', 'extension': 'jpg'}, 1352519165: {'path': 'temp/1745379270_3736466_1352519165_7a71f20936b1527efd5a44f3b3d114b0.jpg', 'extension': 'jpg'}, 1352519167: {'path': 'temp/1745379270_3736466_1352519167_42a80803e7d320b3497edb73358a521f.jpg', 'extension': 'jpg'}, 1352518726: {'path': 'temp/1745379270_3736466_1352518726_08f4d1366c48dac0bf51b3be28883c60.jpg', 'extension': 'jpg'}, 1352518825: {'path': 'temp/1745379270_3736466_1352518825_2d60c55cf87e747799e465d5dd7f00e8.jpg', 'extension': 'jpg'}, 1352518827: {'path': 'temp/1745379270_3736466_1352518827_e32ddaaf77090027e635ce18f85c5666.jpg', 'extension': 'jpg'}, 1352518963: {'path': 'temp/1745379270_3736466_1352518963_b0899ac59fadfcffcf54c4a45de3361f.jpg', 'extension': 'jpg'}, 1352518965: {'path': 'temp/1745379270_3736466_1352518965_32533e02b56465f76cb7654f1fe6a0e1.jpg', 'extension': 'jpg'}, 1352518966: {'path': 'temp/1745379270_3736466_1352518966_f06d54a2f456cef27ca839b952be50e2.jpg', 'extension': 'jpg'}, 1352518967: {'path': 'temp/1745379270_3736466_1352518967_e5d40f59518b99a65a5be74f22e32e06.jpg', 'extension': 'jpg'}, 1352518968: {'path': 'temp/1745379270_3736466_1352518968_cae73e1b09e789a31a6410a94a393a2b.jpg', 'extension': 'jpg'}, 1352519360: {'path': 'temp/1745379270_3736466_1352519360_24658b5d7256b5fa510ee42465dc3ba0.jpg', 'extension': 'jpg'}, 1352519648: {'path': 'temp/1745379270_3736466_1352519648_713c21a4e5628188be6b69e3fdafcd3c.jpg', 'extension': 'jpg'}, 1352519651: {'path': 'temp/1745379270_3736466_1352519651_f37aee282b160f1c4fef74839bbbba5c.jpg', 'extension': 'jpg'}, 1352519656: {'path': 'temp/1745379270_3736466_1352519656_b92189aa4f71714433fcb797c9295694.jpg', 'extension': 'jpg'}, 1352519662: {'path': 'temp/1745379270_3736466_1352519662_f20d4c2c094fb892ce510776561752ee.jpg', 'extension': 'jpg'}, 1352519665: {'path': 'temp/1745379270_3736466_1352519665_454a3cabcf63cbc3795efb2182ddd85e.jpg', 'extension': 'jpg'}, 1352519789: {'path': 'temp/1745379270_3736466_1352519789_4d017f4c58f7bf6bcc11f720a6fba7a7.jpg', 'extension': 'jpg'}, 1352519796: {'path': 'temp/1745379270_3736466_1352519796_83524b14356c574b34666f0b0e9f4da1.jpg', 'extension': 'jpg'}, 1352519169: {'path': 'temp/1745379270_3736466_1352519169_d1c6a1ef39badb04163f994006bba511.jpg', 'extension': 'jpg'}, 1352519189: {'path': 'temp/1745379270_3736466_1352519189_429b64c12d79bb1e761188c6a4ccfc94.jpg', 'extension': 'jpg'}, 1352519301: {'path': 'temp/1745379270_3736466_1352519301_3cd1e974096bb8657670ffebeb95c821.jpg', 'extension': 'jpg'}, 1352519304: {'path': 'temp/1745379270_3736466_1352519304_4893f81f38259f21d511d515f92892b1.jpg', 'extension': 'jpg'}, 1352519306: {'path': 'temp/1745379270_3736466_1352519306_d9c61c85dce0af5a5a2cb6870fd1bf07.jpg', 'extension': 'jpg'}, 1352519326: {'path': 'temp/1745379270_3736466_1352519326_5b6878ade513f8cfbedc49f07ae7ad1f.jpg', 'extension': 'jpg'}, 1352519327: {'path': 'temp/1745379270_3736466_1352519327_94963ad987ba4274cb4b57481da4f0f2.jpg', 'extension': 'jpg'}, 1352519333: {'path': 'temp/1745379270_3736466_1352519333_b6dafbe89975a3f074d11541392956c6.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 = 22283193; (('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 = 22283193 group by h (('05', 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=22283193 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 (22283193) 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 (22283193) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 22042025 22283193 Nombre de photos uploadées : 35 / 23040 (0%) 22042025 22283193 Nombre de photos taguées (types de déchets): 0 / 35 (0%) 22042025 22283193 Nombre de photos taguées (volume) : 0 / 35 (0%) [{'photo_id': 1352518726, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/08f4d1366c48dac0bf51b3be28883c60.jpg', 'username': None, 'uploaded_at': 1745291047, 'text': 'image_22042025_05_02_34_9134.jpg'}, {'photo_id': 1352518827, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/e32ddaaf77090027e635ce18f85c5666.jpg', 'username': None, 'uploaded_at': 1745291287, 'text': 'image_22042025_05_03_35_10141.jpg'}, {'photo_id': 1352518825, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/2d60c55cf87e747799e465d5dd7f00e8.jpg', 'username': None, 'uploaded_at': 1745291287, 'text': 'image_22042025_05_07_44_010135m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1352518970, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/22/6cd28bb607e2d689c690f07bf4e67f46.jpg', 'username': None, 'uploaded_at': 1745291347, 'text': 'image_22042025_05_07_54_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.245208740234375e-06 ??????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001569509506225586 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 22283193, '2025-04-22' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1735821,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.02348160743713379 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= 1735821 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22283193, 'dashboard_result_id': 10036073, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_22-04-2025_05_34_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283206, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22283528, 'dashboard_result_id': 10036074, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283528_22-04-2025_05_35_50.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283581, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22284061, 'dashboard_result_id': 10036075, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284061_22-04-2025_05_51_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284073, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22284551, 'dashboard_result_id': 10036076, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284551_22-04-2025_06_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284564, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22285051, 'dashboard_result_id': 10036077, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_22-04-2025_06_26_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285063, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22285528, 'dashboard_result_id': 10036078, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285528_22-04-2025_06_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22285832, 'dashboard_result_id': 10036079, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285832_22-04-2025_06_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285868, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22286020, 'dashboard_result_id': 10036080, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286020_22-04-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286056, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22286721, 'dashboard_result_id': 10036081, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286721_22-04-2025_07_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286738, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22287212, 'dashboard_result_id': 10036082, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287212_22-04-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22287252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287261, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22288002, 'dashboard_result_id': 10036083, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22288420, 'dashboard_result_id': 10036084, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22289161, 'dashboard_result_id': 10036085, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22289960, 'dashboard_result_id': 10036086, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289960_22-04-2025_08_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22289990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290001, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22290784, 'dashboard_result_id': 10036087, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290784_22-04-2025_08_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290817, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22291519, 'dashboard_result_id': 10036088, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291519_22-04-2025_09_02_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291594, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22293115, 'dashboard_result_id': 10036089, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293115_22-04-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293131, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22293696, 'dashboard_result_id': 10036090, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293696_22-04-2025_10_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293729, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22294121, 'dashboard_result_id': 10036091, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294121_22-04-2025_10_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294168, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22294892, 'dashboard_result_id': 10036092, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294892_22-04-2025_10_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294969, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22295521, 'dashboard_result_id': 10036093, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295521_22-04-2025_10_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295535, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22296368, 'dashboard_result_id': 10036094, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296368_22-04-2025_11_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296381, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22296833, 'dashboard_result_id': 10036095, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296833_22-04-2025_11_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296850, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22297501, 'dashboard_result_id': 10036096, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297501_22-04-2025_11_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22297551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297562, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22298134, 'dashboard_result_id': 10036097, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298134_22-04-2025_11_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298166, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22298962, 'dashboard_result_id': 10036098, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298962_22-04-2025_12_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298979, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22299585, 'dashboard_result_id': 10036099, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299585_23-04-2025_00_01_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299614, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22307186, 'dashboard_result_id': 10036100, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22307186_22-04-2025_16_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22307211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22307212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22307213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22307214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22307215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22307216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22307217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22307218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22307219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22307220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22307221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22307222, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22312258, 'dashboard_result_id': 10036101, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312258_22-04-2025_19_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312271, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22312446, 'dashboard_result_id': 10036102, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312446_22-04-2025_19_16_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22312471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312482, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22312886, 'dashboard_result_id': 10036103, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312886_22-04-2025_19_35_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312921, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22313109, 'dashboard_result_id': 10036104, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22313109_22-04-2025_19_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22313110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22313111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22313112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22313113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22313114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22313115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22313116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22313117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22313118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22313119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22313120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22313121, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22316204, 'dashboard_result_id': 10036105, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22316204_22-04-2025_21_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22316206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22316207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22316208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22316209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22316210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22316211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22316212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22316213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22316214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22316215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22316216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22316217, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22318358, 'dashboard_result_id': 10036106, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22318358_22-04-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22318359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22318360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22318361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22318362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22318363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22318364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22318365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22318366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22318367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22318368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22318369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22318370, 'pht': 3726}}"}, {'dashboat_entry_day': 1735821, 'dashboard_run_id': 1747698, 'mtr_portfolio_id': 22319618, 'dashboard_result_id': 10036107, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22319618_22-04-2025_22_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22319619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22319620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22319621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22319622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22319623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22319624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22319625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22319626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22319627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22319628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22319629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22319630, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22283193 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2751231, 'mtr_portfolio_id': 22283193, 'created_at': datetime.datetime(2025, 4, 23, 5, 34, 30), 'result': '0.06962585916446648', 'result_long': None, 'result_double': None}] Qualite : 0.06962585916446648 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22283193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22283193 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283206, 'pht': 3726}}" where mtr_portfolio_id = 22283193 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22283193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036073, 0.06962585916446648, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283193_23-04-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283195, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283196, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283197, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283198, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283199, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283200, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283201, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283202, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283203, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283206, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22283528 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746693, 'mtr_portfolio_id': 22283528, 'created_at': datetime.datetime(2025, 4, 22, 5, 35, 47), 'result': '0.03579212895079084', 'result_long': None, 'result_double': None}] Qualite : 0.03579212895079084 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22283528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283528_22-04-2025_05_35_50.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22283528 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283528_22-04-2025_05_35_50.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283581, 'pht': 3726}}" where mtr_portfolio_id = 22283528 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22283528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036074, 0.03579212895079084, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22283528_22-04-2025_05_35_50.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22283570, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22283571, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22283572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22283573, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22283574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22283575, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22283576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22283577, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22283578, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22283579, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22283580, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22283581, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22284061 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746695, 'mtr_portfolio_id': 22284061, 'created_at': datetime.datetime(2025, 4, 22, 5, 51), 'result': '0.05944116785269619', 'result_long': None, 'result_double': None}] Qualite : 0.05944116785269619 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22284061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284061_22-04-2025_05_51_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22284061 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284061_22-04-2025_05_51_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284073, 'pht': 3726}}" where mtr_portfolio_id = 22284061 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22284061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036075, 0.05944116785269619, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284061_22-04-2025_05_51_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284062, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284063, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284065, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284067, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284068, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284069, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284070, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284071, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284072, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284073, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22284551 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746738, 'mtr_portfolio_id': 22284551, 'created_at': datetime.datetime(2025, 4, 22, 6, 2, 59), 'result': '0.05233432946332317', 'result_long': None, 'result_double': None}] Qualite : 0.05233432946332317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22284551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284551_22-04-2025_06_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22284551 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284551_22-04-2025_06_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284564, 'pht': 3726}}" where mtr_portfolio_id = 22284551 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22284551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036076, 0.05233432946332317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22284551_22-04-2025_06_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22284553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22284554, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22284555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22284556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22284557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22284558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22284559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22284560, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22284561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22284562, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22284563, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22284564, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22285051 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746787, 'mtr_portfolio_id': 22285051, 'created_at': datetime.datetime(2025, 4, 22, 6, 26, 58), 'result': '0.04686188925972202', 'result_long': None, 'result_double': None}] Qualite : 0.04686188925972202 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_22-04-2025_06_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_22-04-2025_06_26_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285063, 'pht': 3726}}" where mtr_portfolio_id = 22285051 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036077, 0.04686188925972202, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285051_22-04-2025_06_26_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285053, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285054, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285055, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285057, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285058, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285060, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285062, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285063, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22285528 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746828, 'mtr_portfolio_id': 22285528, 'created_at': datetime.datetime(2025, 4, 22, 6, 32, 58), 'result': '0.04923531327927505', 'result_long': None, 'result_double': None}] Qualite : 0.04923531327927505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285528 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285528_22-04-2025_06_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285528 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285528_22-04-2025_06_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}}" where mtr_portfolio_id = 22285528 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285528 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036078, 0.04923531327927505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285528_22-04-2025_06_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285553, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285554, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285557, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285558, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285559, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285561, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285562, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285563, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285564, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22285832 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746851, 'mtr_portfolio_id': 22285832, 'created_at': datetime.datetime(2025, 4, 22, 6, 48, 57), 'result': '0.05518727894071494', 'result_long': None, 'result_double': None}] Qualite : 0.05518727894071494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22285832 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285832_22-04-2025_06_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22285832 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285832_22-04-2025_06_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285868, 'pht': 3726}}" where mtr_portfolio_id = 22285832 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22285832 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036079, 0.05518727894071494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22285832_22-04-2025_06_48_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22285857, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22285858, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22285859, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22285860, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22285861, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22285862, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22285863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22285864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22285865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22285866, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22285867, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22285868, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22286020 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746876, 'mtr_portfolio_id': 22286020, 'created_at': datetime.datetime(2025, 4, 22, 7, 2, 59), 'result': '0.062280815078066744', 'result_long': None, 'result_double': None}] Qualite : 0.062280815078066744 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22286020 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286020_22-04-2025_07_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22286020 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286020_22-04-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286056, 'pht': 3726}}" where mtr_portfolio_id = 22286020 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22286020 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036080, 0.062280815078066744, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286020_22-04-2025_07_02_59.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286045, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286046, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286047, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286050, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286052, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286054, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286055, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286056, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22286721 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2746967, 'mtr_portfolio_id': 22286721, 'created_at': datetime.datetime(2025, 4, 22, 7, 19, 1), 'result': '0.0712643109227587', 'result_long': None, 'result_double': None}] Qualite : 0.0712643109227587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22286721 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286721_22-04-2025_07_19_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22286721 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286721_22-04-2025_07_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286738, 'pht': 3726}}" where mtr_portfolio_id = 22286721 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22286721 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036081, 0.0712643109227587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22286721_22-04-2025_07_19_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22286727, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22286728, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22286729, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22286730, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22286731, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22286732, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22286733, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22286734, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22286735, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22286736, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22286737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22286738, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22287212 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747003, 'mtr_portfolio_id': 22287212, 'created_at': datetime.datetime(2025, 4, 22, 7, 33, 1), 'result': '0.03639547731339871', 'result_long': None, 'result_double': None}] Qualite : 0.03639547731339871 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22287212 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287212_22-04-2025_07_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22287212 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287212_22-04-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22287252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287261, 'pht': 3726}}" where mtr_portfolio_id = 22287212 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22287212 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036082, 0.03639547731339871, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22287212_22-04-2025_07_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22287250, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22287251, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22287252, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22287253, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22287254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22287255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22287256, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22287257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22287258, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22287259, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22287260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22287261, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22288002 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747082, 'mtr_portfolio_id': 22288002, 'created_at': datetime.datetime(2025, 4, 22, 7, 48, 58), 'result': '0.06754364275022666', 'result_long': None, 'result_double': None}] Qualite : 0.06754364275022666 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288002 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288002 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}" where mtr_portfolio_id = 22288002 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22288002 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036083, 0.06754364275022666, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288002_22-04-2025_07_48_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22288005, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22288006, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288007, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288008, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288010, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288011, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288012, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288013, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288014, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288015, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288016, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22288420 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747116, 'mtr_portfolio_id': 22288420, 'created_at': datetime.datetime(2025, 4, 22, 8, 3), 'result': '0.04869240453567159', 'result_long': None, 'result_double': None}] Qualite : 0.04869240453567159 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22288420 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22288420 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}" where mtr_portfolio_id = 22288420 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22288420 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036084, 0.04869240453567159, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22288420_22-04-2025_08_03_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22288451, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22288452, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22288453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22288454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22288455, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22288456, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22288457, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22288458, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22288459, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22288460, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22288461, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22288462, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22289161 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747189, 'mtr_portfolio_id': 22289161, 'created_at': datetime.datetime(2025, 4, 22, 8, 18, 59), 'result': '0.059532425882459834', 'result_long': None, 'result_double': None}] Qualite : 0.059532425882459834 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289161 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289161 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}" where mtr_portfolio_id = 22289161 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22289161 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036085, 0.059532425882459834, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289161_22-04-2025_08_19_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289186, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289187, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289188, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289189, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22289191, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289192, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22289193, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289194, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289195, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289196, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22289197, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22289960 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747248, 'mtr_portfolio_id': 22289960, 'created_at': datetime.datetime(2025, 4, 22, 8, 32, 57), 'result': '0.06353689510491778', 'result_long': None, 'result_double': None}] Qualite : 0.06353689510491778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22289960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289960_22-04-2025_08_32_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22289960 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289960_22-04-2025_08_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22289990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290001, 'pht': 3726}}" where mtr_portfolio_id = 22289960 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22289960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036086, 0.06353689510491778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22289960_22-04-2025_08_32_57.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 22289990, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22289991, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22289992, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22289993, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22289994, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22289995, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22289996, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22289997, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22289998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22289999, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290000, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290001, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22290784 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747330, 'mtr_portfolio_id': 22290784, 'created_at': datetime.datetime(2025, 4, 22, 8, 47), 'result': '0.07708128148895892', 'result_long': None, 'result_double': None}] Qualite : 0.07708128148895892 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22290784 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290784_22-04-2025_08_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22290784 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290784_22-04-2025_08_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290817, 'pht': 3726}}" where mtr_portfolio_id = 22290784 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22290784 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036087, 0.07708128148895892, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22290784_22-04-2025_08_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22290806, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22290807, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22290808, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22290809, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22290810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22290811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22290812, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22290813, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22290814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22290815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22290816, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22290817, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22291519 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747381, 'mtr_portfolio_id': 22291519, 'created_at': datetime.datetime(2025, 4, 22, 9, 2, 29), 'result': '0.05729161226196532', 'result_long': None, 'result_double': None}] Qualite : 0.05729161226196532 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22291519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291519_22-04-2025_09_02_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22291519 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291519_22-04-2025_09_02_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291594, 'pht': 3726}}" where mtr_portfolio_id = 22291519 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22291519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036088, 0.05729161226196532, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22291519_22-04-2025_09_02_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22291583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22291584, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22291585, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22291586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22291587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22291588, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22291589, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22291590, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22291591, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22291592, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22291593, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22291594, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22293115 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747545, 'mtr_portfolio_id': 22293115, 'created_at': datetime.datetime(2025, 4, 22, 9, 46, 29), 'result': '0.050029981891664174', 'result_long': None, 'result_double': None}] Qualite : 0.050029981891664174 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22293115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293115_22-04-2025_09_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22293115 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293115_22-04-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293131, 'pht': 3726}}" where mtr_portfolio_id = 22293115 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22293115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036089, 0.050029981891664174, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293115_22-04-2025_09_46_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293122, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293123, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293125, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293126, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293127, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293128, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293129, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293130, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293131, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22293696 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747606, 'mtr_portfolio_id': 22293696, 'created_at': datetime.datetime(2025, 4, 22, 10, 3), 'result': '0.05561995408712252', 'result_long': None, 'result_double': None}] Qualite : 0.05561995408712252 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22293696 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293696_22-04-2025_10_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22293696 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293696_22-04-2025_10_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293729, 'pht': 3726}}" where mtr_portfolio_id = 22293696 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22293696 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036090, 0.05561995408712252, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22293696_22-04-2025_10_03_00.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22293718, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22293719, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22293720, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22293721, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22293722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22293723, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22293724, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22293725, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22293726, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22293727, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22293728, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22293729, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22294121 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747665, 'mtr_portfolio_id': 22294121, 'created_at': datetime.datetime(2025, 4, 22, 10, 19), 'result': '0.06102612967400454', 'result_long': None, 'result_double': None}] Qualite : 0.06102612967400454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22294121 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294121_22-04-2025_10_19_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22294121 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294121_22-04-2025_10_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294168, 'pht': 3726}}" where mtr_portfolio_id = 22294121 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22294121 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036091, 0.06102612967400454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294121_22-04-2025_10_19_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294158, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294160, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294161, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294163, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294168, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22294892 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747737, 'mtr_portfolio_id': 22294892, 'created_at': datetime.datetime(2025, 4, 22, 10, 32, 29), 'result': '0.048718953778101766', 'result_long': None, 'result_double': None}] Qualite : 0.048718953778101766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22294892 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294892_22-04-2025_10_32_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22294892 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294892_22-04-2025_10_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294969, 'pht': 3726}}" where mtr_portfolio_id = 22294892 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22294892 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036092, 0.048718953778101766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22294892_22-04-2025_10_32_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22294958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22294959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22294960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22294961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22294962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22294963, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22294964, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22294965, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22294966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22294967, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22294968, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22294969, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22295521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747810, 'mtr_portfolio_id': 22295521, 'created_at': datetime.datetime(2025, 4, 22, 10, 47), 'result': '0.0620622538850013', 'result_long': None, 'result_double': None}] Qualite : 0.0620622538850013 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22295521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295521_22-04-2025_10_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22295521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295521_22-04-2025_10_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295535, 'pht': 3726}}" where mtr_portfolio_id = 22295521 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22295521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036093, 0.0620622538850013, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22295521_22-04-2025_10_47_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22295524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22295525, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22295526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22295527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22295528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22295529, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22295530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22295531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22295532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22295533, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22295534, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22295535, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22296368 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747870, 'mtr_portfolio_id': 22296368, 'created_at': datetime.datetime(2025, 4, 22, 11, 2, 59), 'result': '0.05328045887106153', 'result_long': None, 'result_double': None}] Qualite : 0.05328045887106153 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22296368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296368_22-04-2025_11_02_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22296368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296368_22-04-2025_11_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296381, 'pht': 3726}}" where mtr_portfolio_id = 22296368 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22296368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036094, 0.05328045887106153, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296368_22-04-2025_11_02_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296370, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296371, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296372, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296375, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296376, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296377, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296378, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296379, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296380, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296381, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22296833 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747918, 'mtr_portfolio_id': 22296833, 'created_at': datetime.datetime(2025, 4, 22, 11, 18, 58), 'result': '0.06408876943512296', 'result_long': None, 'result_double': None}] Qualite : 0.06408876943512296 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22296833 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296833_22-04-2025_11_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22296833 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296833_22-04-2025_11_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296850, 'pht': 3726}}" where mtr_portfolio_id = 22296833 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22296833 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036095, 0.06408876943512296, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22296833_22-04-2025_11_18_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22296839, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22296840, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22296841, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22296842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22296843, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22296844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22296845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22296846, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22296847, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22296848, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22296849, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22296850, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22297501 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2747958, 'mtr_portfolio_id': 22297501, 'created_at': datetime.datetime(2025, 4, 22, 11, 32, 57), 'result': '0.06158601069185719', 'result_long': None, 'result_double': None}] Qualite : 0.06158601069185719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22297501 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297501_22-04-2025_11_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22297501 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297501_22-04-2025_11_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22297551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297562, 'pht': 3726}}" where mtr_portfolio_id = 22297501 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22297501 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036096, 0.06158601069185719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22297501_22-04-2025_11_32_58.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 22297551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22297552, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22297553, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22297554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22297555, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22297556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22297557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22297558, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22297559, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22297560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22297561, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22297562, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22298134 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2748039, 'mtr_portfolio_id': 22298134, 'created_at': datetime.datetime(2025, 4, 22, 11, 50, 59), 'result': '0.04184367374474032', 'result_long': None, 'result_double': None}] Qualite : 0.04184367374474032 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22298134 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298134_22-04-2025_11_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22298134 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298134_22-04-2025_11_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298166, 'pht': 3726}}" where mtr_portfolio_id = 22298134 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22298134 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036097, 0.04184367374474032, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298134_22-04-2025_11_51_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298157, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298158, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298159, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298160, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298161, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298163, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298164, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298165, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298166, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22298962 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2748094, 'mtr_portfolio_id': 22298962, 'created_at': datetime.datetime(2025, 4, 22, 12, 2, 57), 'result': '0.065813879713322', 'result_long': None, 'result_double': None}] Qualite : 0.065813879713322 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22298962 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298962_22-04-2025_12_02_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22298962 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298962_22-04-2025_12_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298979, 'pht': 3726}}" where mtr_portfolio_id = 22298962 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22298962 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036098, 0.065813879713322, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22298962_22-04-2025_12_02_58.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22298968, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22298969, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22298970, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22298971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22298972, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22298973, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22298974, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22298975, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22298976, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22298977, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22298978, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22298979, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22299585 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2748169, 'mtr_portfolio_id': 22299585, 'created_at': datetime.datetime(2025, 4, 23, 0, 1, 28), 'result': '0.04878292693378914', 'result_long': None, 'result_double': None}] Qualite : 0.04878292693378914 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22299585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299585_23-04-2025_00_01_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22299585 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299585_23-04-2025_00_01_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299614, 'pht': 3726}}" where mtr_portfolio_id = 22299585 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22299585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036099, 0.04878292693378914, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22299585_23-04-2025_00_01_29.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22299603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22299604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22299605, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22299606, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22299607, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22299608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22299609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22299610, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22299611, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22299612, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22299613, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22299614, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22307186 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2748978, 'mtr_portfolio_id': 22307186, 'created_at': datetime.datetime(2025, 4, 22, 16, 3, 2), 'result': '0.0586795616574983', 'result_long': None, 'result_double': None}] Qualite : 0.0586795616574983 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22307186 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22307186_22-04-2025_16_03_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22307186 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22307186_22-04-2025_16_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22307211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22307212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22307213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22307214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22307215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22307216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22307217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22307218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22307219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22307220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22307221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22307222, 'pht': 3726}}" where mtr_portfolio_id = 22307186 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22307186 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036100, 0.0586795616574983, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22307186_22-04-2025_16_03_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22307211, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22307212, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22307213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22307214, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22307215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22307216, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22307217, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22307218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22307219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22307220, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22307221, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22307222, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22312258 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2749507, 'mtr_portfolio_id': 22312258, 'created_at': datetime.datetime(2025, 4, 22, 19, 3), 'result': '0.041275718879498095', 'result_long': None, 'result_double': None}] Qualite : 0.041275718879498095 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22312258 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312258_22-04-2025_19_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22312258 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312258_22-04-2025_19_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312271, 'pht': 3726}}" where mtr_portfolio_id = 22312258 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22312258 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036101, 0.041275718879498095, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312258_22-04-2025_19_03_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312260, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312261, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312263, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312267, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312270, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312271, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22312446 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2749547, 'mtr_portfolio_id': 22312446, 'created_at': datetime.datetime(2025, 4, 22, 19, 16, 52), 'result': '0.04338164572328143', 'result_long': None, 'result_double': None}] Qualite : 0.04338164572328143 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22312446 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312446_22-04-2025_19_16_52.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22312446 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312446_22-04-2025_19_16_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22312471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312482, 'pht': 3726}}" where mtr_portfolio_id = 22312446 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22312446 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036102, 0.04338164572328143, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312446_22-04-2025_19_16_52.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22312471, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312472, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312474, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312476, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312478, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312481, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22312886 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2749618, 'mtr_portfolio_id': 22312886, 'created_at': datetime.datetime(2025, 4, 22, 19, 35, 1), 'result': '0.02038512892619011', 'result_long': None, 'result_double': None}] Qualite : 0.02038512892619011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22312886 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312886_22-04-2025_19_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22312886 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312886_22-04-2025_19_35_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312921, 'pht': 3726}}" where mtr_portfolio_id = 22312886 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22312886 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036103, 0.02038512892619011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22312886_22-04-2025_19_35_02.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22312910, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22312911, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22312912, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22312913, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22312914, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22312915, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22312916, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22312917, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22312918, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22312919, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22312920, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22312921, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22313109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2749647, 'mtr_portfolio_id': 22313109, 'created_at': datetime.datetime(2025, 4, 22, 19, 49), 'result': '0.026756689145964945', 'result_long': None, 'result_double': None}] Qualite : 0.026756689145964945 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22313109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22313109_22-04-2025_19_49_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22313109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22313109_22-04-2025_19_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22313110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22313111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22313112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22313113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22313114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22313115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22313116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22313117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22313118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22313119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22313120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22313121, 'pht': 3726}}" where mtr_portfolio_id = 22313109 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22313109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036104, 0.026756689145964945, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22313109_22-04-2025_19_49_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22313110, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22313111, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22313112, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22313113, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22313114, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22313115, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22313116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22313117, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22313118, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22313119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22313120, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22313121, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22316204 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2749965, 'mtr_portfolio_id': 22316204, 'created_at': datetime.datetime(2025, 4, 22, 21, 20, 59), 'result': '0.11615919943277475', 'result_long': None, 'result_double': None}] Qualite : 0.11615919943277475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22316204 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22316204_22-04-2025_21_21_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22316204 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22316204_22-04-2025_21_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22316206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22316207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22316208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22316209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22316210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22316211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22316212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22316213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22316214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22316215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22316216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22316217, 'pht': 3726}}" where mtr_portfolio_id = 22316204 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22316204 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036105, 0.11615919943277475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22316204_22-04-2025_21_21_00.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22316206, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22316207, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22316208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22316209, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22316210, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22316211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22316212, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22316213, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22316214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22316215, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22316216, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22316217, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22318358 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2750151, 'mtr_portfolio_id': 22318358, 'created_at': datetime.datetime(2025, 4, 22, 22, 16, 59), 'result': '0.014501348190915005', 'result_long': None, 'result_double': None}] Qualite : 0.014501348190915005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22318358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22318358_22-04-2025_22_16_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22318358 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22318358_22-04-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22318359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22318360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22318361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22318362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22318363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22318364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22318365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22318366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22318367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22318368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22318369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22318370, 'pht': 3726}}" where mtr_portfolio_id = 22318358 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22318358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036106, 0.014501348190915005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22318358_22-04-2025_22_16_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22318359, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22318360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22318361, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22318362, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22318363, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22318364, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22318365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22318366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22318367, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 22318368, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22318369, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22318370, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 22319618 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2750242, 'mtr_portfolio_id': 22319618, 'created_at': datetime.datetime(2025, 4, 22, 22, 41, 1), 'result': '0.007249436232774333', 'result_long': None, 'result_double': None}] Qualite : 0.007249436232774333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 22319618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22319618_22-04-2025_22_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 22319618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22319618_22-04-2025_22_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22319619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22319620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22319621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22319622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22319623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22319624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22319625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22319626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22319627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22319628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22319629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22319630, 'pht': 3726}}" where mtr_portfolio_id = 22319618 and dashboard_run_id = 1747698 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=22319618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10036107, 0.007249436232774333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P22319618_22-04-2025_22_41_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 22319619, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 22319620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 22319621, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 22319622, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 22319623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 22319624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 22319625, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 22319626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 22319627, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 22319628, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 22319629, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 22319630, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (22283193,22283528,22284061,22284551,22285051,22285528,22285832,22286020,22286721,22287212,22288002,22288420,22289161,22289960,22290784,22291519,22293115,22293696,22294121,22294892,22295521,22296368,22296833,22297501,22298134,22298962,22299585,22307186,22312258,22312446,22312886,22313109,22316204,22318358,22319618) result : ((1352518726,), (1352518825,), (1352518827,), (1352518963,), (1352518965,), (1352518966,), (1352518967,), (1352518968,), (1352518970,), (1352518994,), (1352519002,), (1352519012,), (1352519016,), (1352519144,), (1352519165,), (1352519167,), (1352519169,), (1352519189,), (1352519301,), (1352519304,), (1352519306,), (1352519326,), (1352519327,), (1352519333,), (1352519360,), (1352519648,), (1352519651,), (1352519656,), (1352519662,), (1352519665,), (1352519789,), (1352519796,), (1352519798,), (1352519826,), (1352519937,), (1352519912,), (1352519915,), (1352519918,), (1352519924,), (1352519928,), (1352520039,), (1352520151,), (1352520155,), (1352520156,), (1352520157,), (1352520161,), (1352520317,), (1352520320,), (1352520332,), (1352520490,), (1352520492,), (1352520493,), (1352520494,), (1352520495,), (1352520671,), (1352520697,), (1352520723,), (1352520748,), (1352520777,), (1352520804,), (1352521087,), (1352521128,), (1352521155,), (1352521184,), (1352521215,), (1352521244,), (1352521505,), (1352521529,), (1352521559,), (1352521635,), (1352521636,), (1352521637,), (1352521638,), (1352521639,), (1352521748,), (1352521756,), (1352521773,), (1352521782,), (1352521784,), (1352521788,), (1352521816,), (1352521818,), (1352522106,), (1352522141,), (1352522171,), (1352522206,), (1352522382,), (1352522384,), (1352522386,), (1352522388,), (1352522391,), (1352522394,), (1352522423,), (1352522425,), (1352522426,), (1352522475,), (1352522478,), (1352522480,), (1352522482,), (1352522484,), (1352522524,), (1352522553,), (1352522581,), (1352522614,), (1352522642,), (1352523193,), (1352523138,), (1352523836,), (1352523838,), (1352523848,), (1352523861,), (1352524066,), (1352524089,), (1352524133,), (1352524390,), (1352524584,), (1352524597,), (1352524598,), (1352524643,), (1352524644,), (1352524645,), (1352524646,), (1352524649,), (1352524680,), (1352524682,), (1352524684,), (1352524686,), (1352524709,), (1352524711,), (1352524712,), (1352524744,), (1352524745,), (1352524746,), (1352524747,), (1352524749,), (1352524754,), (1352524791,), (1352524793,), (1352524795,), (1352524797,), (1352524944,), (1352524999,), (1352525001,), (1352525003,), (1352525005,), (1352525123,), (1352525138,), (1352525263,), (1352525292,), (1352525306,), (1352525476,), (1352525433,), (1352525472,), (1352525514,), (1352525515,), (1352525516,), (1352525520,), (1352525524,), (1352525529,), (1352525561,), (1352525563,), (1352525639,), (1352525644,), (1352525646,), (1352525674,), (1352525675,), (1352525676,), (1352525677,), (1352525679,), (1352525711,), (1352525712,), (1352525843,), (1352525846,), (1352525849,), (1352525852,), (1352526106,), (1352526130,), (1352526156,), (1352526181,), (1352526384,), (1352526401,), (1352526409,), (1352526414,), (1352526418,), (1352526428,), (1352526455,), (1352526457,), (1352526669,), (1352526692,), (1352527020,), (1352527048,), (1352527054,), (1352527061,), (1352527176,), (1352527149,), (1352528950,), (1352528954,), (1352528956,), (1352528959,), (1352528980,), (1352528982,), (1352528984,), (1352528986,), (1352528988,), (1352529021,), (1352529023,), (1352529025,), (1352529056,), (1352529058,), (1352529060,), (1352529062,), (1352529064,), (1352529067,), (1352529086,), (1352529088,), (1352529090,), (1352529092,), (1352529111,), (1352529113,), (1352529115,), (1352529117,), (1352529120,), (1352529405,), (1352529407,), (1352529431,), (1352529434,), (1352529439,), (1352529442,), (1352529446,), (1352529448,), (1352529489,), (1352529474,), (1352529483,), (1352529486,), (1352529511,), (1352529516,), (1352529518,), (1352529522,), (1352529545,), (1352529549,), (1352529551,), (1352529582,), (1352529585,), (1352529587,), (1352529590,), (1352529612,), (1352529615,), (1352529617,), (1352529619,), (1352529647,), (1352529649,), (1352529651,), (1352529653,), (1352529677,), (1352529680,), (1352529683,), (1352529690,), (1352529696,), (1352529699,), (1352529718,), (1352529722,), (1352529724,), (1352529726,), (1352529730,), (1352529732,), (1352529757,), (1352529759,), (1352529761,), (1352529787,), (1352529790,), (1352529792,), (1352529793,), (1352529798,), (1352529823,), (1352529825,), (1352529828,), (1352529831,), (1352529833,), (1352529851,), (1352529853,), (1352529856,), (1352529858,), (1352529890,), (1352529892,), (1352529894,), (1352529914,), (1352529917,), (1352529919,), (1352529923,), (1352529936,), (1352529943,), (1352529969,), (1352529978,), (1352529981,), (1352529984,), (1352529988,), (1352530031,), (1352530029,), (1352530073,), (1352530080,), (1352530083,), (1352530086,), (1352530091,), (1352530126,), (1352530129,), (1352530131,), (1352530133,), (1352530136,), (1352530140,), (1352530176,), (1352530180,), (1352530183,), (1352530187,), (1352530191,), (1352530216,), (1352530219,), (1352530221,), (1352530223,), (1352530226,), (1352530260,), (1352530268,), (1352530274,), (1352530278,), (1352530283,), (1352530302,), (1352530304,), (1352530307,), (1352530310,), (1352530345,), (1352530348,), (1352530351,), (1352530354,), (1352530358,), (1352530363,), (1352530387,), (1352530389,), (1352530391,), (1352530396,), (1352530428,), (1352530431,), (1352530434,), (1352530437,), (1352530484,), (1352530489,), (1352530491,), (1352530493,), (1352530498,), (1352530503,), (1352530537,), (1352530542,), (1352530545,), (1352530548,), (1352530552,), (1352530579,), (1352530581,), (1352530584,), (1352530613,), (1352530617,), (1352530620,), (1352530624,), (1352530628,), (1352530631,), (1352530657,), (1352530660,), (1352530663,), (1352530665,), (1352530712,), (1352530695,), (1352530698,), (1352530702,), (1352530705,), (1352530709,), (1352530730,), (1352530733,), (1352530735,), (1352530737,), (1352530740,), (1352530769,), (1352530774,), (1352530778,), (1352530781,), (1352530785,), (1352530814,), (1352530817,), (1352530819,), (1352530822,), (1352530826,), (1352530857,), (1352530860,), (1352530866,), (1352530872,), (1352530924,), (1352530926,), (1352530928,), (1352530930,), (1352530933,), (1352530936,), (1352530967,), (1352530969,), (1352530971,), (1352530973,), (1352531014,), (1352531016,), (1352531018,), (1352531020,), (1352531065,), (1352531073,), (1352531082,), (1352531094,), (1352531096,), (1352531099,), (1352531135,), (1352531137,), (1352531139,), (1352531141,), (1352531143,), (1352531186,), (1352531193,), (1352531196,), (1352531199,), (1352531203,), (1352531255,), (1352531257,), (1352531259,), (1352531260,), (1352531322,), (1352531328,), (1352531331,), (1352531335,), (1352531621,), (1352531685,), (1352531742,), (1352531804,), (1352531867,), (1352531924,), (1352532092,), (1352532156,), (1352532210,), (1352532264,), (1352532598,), (1352532494,), (1352532544,), (1352532997,), (1352533005,), (1352533036,), (1352533066,), (1352533094,), (1352533876,), (1352533980,), (1352534081,), (1352534097,), (1352534104,), (1352534129,), (1352534269,), (1352534272,), (1352534286,), (1352534292,), (1352534367,), (1352534371,), (1352534375,), (1352534380,), (1352534387,), (1352534391,), (1352534426,), (1352534434,), (1352534445,), (1352534461,), (1352534842,), (1352534847,), (1352534852,), (1352534856,), (1352534869,), (1352534895,), (1352534959,), (1352534968,), (1352534994,), (1352535139,), (1352535144,), (1352535148,), (1352535206,), (1352535212,), (1352535218,), (1352535225,), (1352535229,), (1352535234,), (1352535295,), (1352535316,), (1352535326,), (1352535336,), (1352535344,), (1352535381,), (1352535535,), (1352535572,), (1352535607,), (1352535839,), (1352535771,), (1352535782,), (1352535788,), (1352535796,), (1352535817,), (1352535945,), (1352535946,), (1352535949,), (1352535952,), (1352535996,), (1352536000,), (1352536005,), (1352536011,), (1352536016,), (1352536020,), (1352536072,), (1352536075,), (1352536078,), (1352536091,), (1352536095,), (1352536205,), (1352536209,), (1352536213,), (1352536216,), (1352536267,), (1352536281,), (1352536300,), (1352536313,), (1352536324,), (1352536351,), (1352536421,), (1352536426,), (1352536431,), (1352536491,), (1352536492,), (1352536493,), (1352536496,), (1352536500,), (1352536505,), (1352536544,), (1352536551,), (1352536554,), (1352536597,), (1352536601,), (1352536603,), (1352536605,), (1352536607,), (1352536671,), (1352536675,), (1352536679,), (1352536682,), (1352536686,), (1352536732,), (1352536745,), (1352536752,), (1352536754,), (1352536768,), (1352536976,), (1352536979,), (1352536982,), (1352536985,), (1352536988,), (1352537026,), (1352537034,), (1352537040,), (1352537043,), (1352537089,), (1352537093,), (1352537099,), (1352537107,), (1352537112,), (1352537158,), (1352537146,), (1352537151,), (1352537155,), (1352537203,), (1352537205,), (1352537207,), (1352537209,), (1352537213,), (1352537217,), (1352537254,), (1352537257,), (1352537261,), (1352537265,), (1352537267,), (1352537272,), (1352537306,), (1352537310,), (1352537314,), (1352537317,), (1352537417,), (1352537429,), (1352537436,), (1352537444,), (1352537447,), (1352537460,), (1352537692,), (1352537694,), (1352537698,), (1352537705,), (1352537767,), (1352537769,), (1352537772,), (1352537775,), (1352537779,), (1352537783,), (1352537849,), (1352537859,), (1352537866,), (1352537870,), (1352537880,), (1352537889,), (1352538050,), (1352538054,), (1352538057,), (1352538060,), (1352538108,), (1352538112,), (1352538116,), (1352538117,), (1352538121,), (1352538125,), (1352538169,), (1352538178,), (1352538194,), (1352538197,), (1352538201,), (1352538269,), (1352538305,), (1352538309,), (1352538314,), (1352538335,), (1352538349,), (1352538505,), (1352538524,), (1352538551,), (1352538603,), (1352538844,), (1352538945,), (1352538949,), (1352538962,), (1352538967,), (1352538973,), (1352539224,), (1352539249,), (1352539251,), (1352539253,), (1352539256,), (1352539334,), (1352539302,), (1352539311,), (1352539321,), (1352539328,), (1352539332,), (1352539586,), (1352539587,), (1352539589,), (1352539591,), (1352539595,), (1352539656,), (1352539658,), (1352539661,), (1352539664,), (1352539804,), (1352539810,), (1352539817,), (1352539820,), (1352539899,), (1352539902,), (1352539920,), (1352539927,), (1352539939,), (1352539945,), (1352540043,), (1352540044,), (1352540045,), (1352540048,), (1352540148,), (1352540150,), (1352540153,), (1352540156,), (1352540159,), (1352540220,), (1352540221,), (1352540222,), (1352540224,), (1352540227,), (1352540266,), (1352540268,), (1352540271,), (1352540274,), (1352540365,), (1352540391,), (1352540405,), (1352540407,), (1352540409,), (1352540412,), (1352540497,), (1352540499,), (1352540502,), (1352540505,), (1352540610,), (1352540617,), (1352540622,), (1352540642,), (1352540662,), (1352540674,), (1352540743,), (1352540751,), (1352540756,), (1352540760,), (1352540766,), (1352540772,), (1352541696,), (1352541727,), (1352541759,), (1352541834,), (1352542058,), (1352541987,), (1352542003,), (1352542025,), (1352542047,), (1352542177,), (1352542206,), (1352542248,), (1352542536,), (1352542564,), (1352542577,), (1352542581,), (1352542587,), (1352542592,), (1352543622,), (1352543651,), (1352543679,), (1352543707,), (1352543734,), (1352544044,), (1352544087,), (1352544773,), (1352544776,), (1352544780,), (1352544784,), (1352544789,), (1352545201,), (1352545301,), (1352545322,), (1352545343,), (1352545347,), (1352545353,), (1352545500,), (1352545504,), (1352545508,), (1352545515,), (1352545675,), (1352545678,), (1352545681,), (1352545684,), (1352545691,), (1352545695,), (1352545725,), (1352545731,), (1352545736,), (1352545742,), (1352545845,), (1352545860,), (1352545866,), (1352545869,), (1352545874,), (1352545877,), (1352546046,), (1352546048,), (1352546051,), (1352546057,), (1352546059,), (1352546065,), (1352546107,), (1352546118,), (1352546132,), (1352546137,), (1352546205,), (1352546209,), (1352546213,), (1352546220,), (1352546230,), (1352546235,), (1352546380,), (1352546398,), (1352546404,), (1352546410,), (1352546418,), (1352546611,), (1352546559,), (1352546581,), (1352546773,), (1352546782,), (1352546787,), (1352546799,), (1352546828,), (1352546916,), (1352546936,), (1352546946,), (1352546951,), (1352546953,), (1352547113,), (1352547116,), (1352547119,), (1352547121,), (1352547303,), (1352547349,), (1352547420,), (1352547436,), (1352547447,), (1352547494,), (1352547563,), (1352547573,), (1352547583,), (1352547595,), (1352547598,), (1352547650,), (1352547652,), (1352547657,), (1352547659,), (1352547664,), (1352547669,), (1352547713,), (1352547728,), (1352547918,), (1352547942,), (1352547944,), (1352547946,), (1352547954,), (1352548094,), (1352548098,), (1352548100,), (1352548103,), (1352548108,), (1352548112,), (1352548180,), (1352548182,), (1352548185,), (1352548188,), (1352548404,), (1352548422,), (1352548432,), (1352548436,), (1352548440,), (1352548549,), (1352548559,), (1352548568,), (1352548579,), (1352548584,), (1352548620,), (1352548628,), (1352548633,), (1352548637,), (1352548645,), (1352548683,), (1352548688,), (1352548694,), (1352548698,), (1352548701,), (1352548781,), (1352548754,), (1352548759,), (1352548857,), (1352549014,), (1352549019,), (1352549078,), (1352549286,), (1352549288,), (1352549311,), (1352549317,), (1352549483,), (1352549520,), (1352549554,), (1352549656,), (1352549660,), (1352549664,), (1352549667,), (1352549673,), (1352549678,), (1352549726,), (1352549729,), (1352549732,), (1352549733,), (1352549782,), (1352549786,), (1352549788,), (1352549800,), (1352549813,), (1352549888,), (1352549891,), (1352549894,), (1352549899,), (1352549905,), (1352549954,), (1352549957,), (1352549959,), (1352549962,), (1352550093,), (1352550222,), (1352550267,), (1352550296,), (1352550324,), (1352550355,), (1352550765,), (1352550822,), (1352550921,), (1352550950,), (1352550977,), (1352551670,), (1352551783,), (1352551845,), (1352551900,), (1352551969,), (1352552035,), (1352552594,), (1352552484,), (1352552526,), (1352552551,), (1352552972,), (1352552978,), (1352552982,), (1352552992,), (1352553024,), (1352553068,), (1352553102,), (1352553122,), (1352553148,), (1352553177,), (1352553205,), (1352553237,), (1352553733,), (1352553758,), (1352553784,), (1352554360,), (1352554398,), (1352554442,), (1352554487,), (1352554513,), (1352554547,), (1352554691,), (1352554765,), (1352554829,), (1352554899,), (1352554973,), (1352555592,), (1352555653,), (1352555683,), (1352555949,), (1352555954,), (1352555958,), (1352555972,), (1352555983,), (1352555987,), (1352556028,), (1352556033,), (1352556036,), (1352556039,), (1352556056,), (1352556303,), (1352556314,), (1352556317,), (1352556365,), (1352556367,), (1352556370,), (1352556373,), (1352556376,), (1352556380,), (1352556408,), (1352556411,), (1352556413,), (1352556414,), (1352556417,), (1352556452,), (1352556454,), (1352556456,), (1352556458,), (1352556574,), (1352556580,), (1352556602,), (1352556635,), (1352556666,), (1352556701,), (1352556879,), (1352562519,), (1352562523,), (1352562579,), (1352562583,), (1352562587,), (1352562590,), (1352562608,), (1352562645,), (1352562659,), (1352562689,), (1352562718,), (1352562744,), (1352562915,), (1352562940,), (1352563089,), (1352563091,), (1352563116,), (1352563143,), (1352563144,), (1352563188,), (1352563193,), (1352563197,), (1352563200,), (1352563214,), (1352563313,), (1352563317,), (1352563405,), (1352563411,), (1352563414,), (1352563419,), (1352563426,), (1352563431,), (1352563530,), (1352563536,), (1352563541,), (1352563544,), (1352563548,), (1352563589,), (1352563593,), (1352563595,), (1352563597,), (1352563667,), (1352563673,), (1352563687,), (1352563690,), (1352563692,), (1352563695,), (1352563741,), (1352563744,), (1352563746,), (1352563941,), (1352564545,), (1352564373,), (1352564514,), (1352564523,), (1352564531,), (1352564622,), (1352564651,), (1352564663,), (1352564687,), (1352564695,), (1352564701,), (1352564742,), (1352564752,), (1352564754,), (1352564784,), (1352564790,), (1352564882,), (1352565105,), (1352565108,), (1352565154,), (1352565155,), (1352565158,), (1352565161,), (1352565164,), (1352565169,), (1352565409,), (1352565412,), (1352565420,), (1352565427,), (1352565471,), (1352565478,), (1352565481,), (1352565483,), (1352565485,), (1352565487,), (1352565492,), (1352565496,), (1352565501,), (1352565507,), (1352565527,), (1352565532,), (1352565538,), (1352565544,), (1352565558,), (1352565562,), (1352565565,), (1352565568,), (1352565571,), (1352565617,), (1352565620,), (1352565622,), (1352565625,), (1352565628,), (1352565633,), (1352565685,), (1352565694,), (1352565701,), (1352565728,), (1352565746,), (1352565759,), (1352565788,), (1352565805,), (1352566034,), (1352565913,), (1352565940,), (1352565971,), (1352566001,), (1352566273,), (1352566306,), (1352566341,), (1352566372,), (1352566378,), (1352566532,), (1352566540,), (1352566553,), (1352566579,), (1352566583,), (1352566596,), (1352567342,), (1352567444,), (1352567503,), (1352568333,), (1352568361,), (1352568390,), (1352568420,), (1352568448,), (1352568887,), (1352569017,), (1352569045,), (1352569074,), (1352569103,), (1352569141,), (1352569387,), (1352569391,), (1352569406,), (1352569421,), (1352569543,), (1352569602,), (1352569658,), (1352569717,), (1352569774,), (1352569830,), (1352570101,), (1352570136,), (1352570150,), (1352570389,), (1352570405,), (1352570411,), (1352570414,), (1352570421,), (1352570530,), (1352570534,), (1352570536,), (1352570538,), (1352570584,), (1352570587,), (1352570590,), (1352570724,), (1352570728,), (1352570732,), (1352570735,), (1352570806,), (1352570817,), (1352570948,), (1352570951,), (1352570955,), (1352570957,), (1352570959,), (1352571254,), (1352571319,), (1352571336,), (1352571341,), (1352571363,), (1352571391,), (1352571521,), (1352571494,), (1352571508,), (1352571520,), (1352571693,), (1352571703,), (1352571718,), (1352571722,), (1352571739,), (1352571936,), (1352571941,), (1352571946,), (1352571950,), (1352572037,), (1352572041,), (1352572044,), (1352572047,), (1352572051,), (1352572061,), (1352572154,), (1352572173,), (1352572182,), (1352572195,), (1352572200,), (1352572204,), (1352572385,), (1352572387,), (1352572390,), (1352572392,), (1352572432,), (1352572437,), (1352572441,), (1352572444,), (1352572449,), (1352572484,), (1352572487,), (1352572490,), (1352572493,), (1352572497,), (1352572501,), (1352572545,), (1352572548,), (1352572553,), (1352572563,), (1352572633,), (1352572638,), (1352572695,), (1352572701,), (1352572734,), (1352572739,), (1352572743,), (1352572746,), (1352572791,), (1352572824,), (1352572958,), (1352572969,), (1352572983,), (1352573101,), (1352573110,), (1352573118,), (1352573120,), (1352573248,), (1352573250,), (1352573252,), (1352573322,), (1352573656,), (1352573663,), (1352573669,), (1352573681,), (1352573688,), (1352573695,), (1352573745,), (1352573730,), (1352573734,), (1352573740,), (1352573812,), (1352573818,), (1352573823,), (1352573847,), (1352573850,), (1352573866,), (1352573979,), (1352573998,), (1352574001,), (1352574004,), (1352574008,), (1352574354,), (1352574437,), (1352574469,), (1352574526,), (1352574532,), (1352574537,), (1352574644,), (1352574655,), (1352574676,), (1352574680,), (1352574707,), (1352574827,), (1352574874,), (1352574886,), (1352574914,), (1352574954,), (1352574967,), (1352574993,), (1352574997,), (1352575001,), (1352575005,), (1352575013,), (1352575065,), (1352575068,), (1352575070,), (1352575072,), (1352575073,), (1352575118,), (1352575123,), (1352575126,), (1352575129,), (1352575133,), (1352575180,), (1352575184,), (1352575193,), (1352575200,), (1352575204,), (1352575298,), (1352575301,), (1352575303,), (1352575306,), (1352575386,), (1352575395,), (1352575402,), (1352575408,), (1352575412,), (1352575595,), (1352575598,), (1352575601,), (1352575604,), (1352575609,), (1352575661,), (1352575669,), (1352575677,), (1352575681,), (1352575691,), (1352575764,), (1352575769,), (1352575774,), (1352575779,), (1352575785,), (1352575791,), (1352575854,), (1352575849,), (1352575851,), (1352576188,), (1352576203,), (1352576215,), (1352576216,), (1352576223,), (1352576459,), (1352576467,), (1352576472,), (1352576481,), (1352576542,), (1352576544,), (1352576546,), (1352576548,), (1352576550,), (1352576554,), (1352576599,), (1352576603,), (1352576607,), (1352576633,), (1352576661,), (1352576758,), (1352576763,), (1352576767,), (1352576770,), (1352576771,), (1352576819,), (1352576821,), (1352576823,), (1352576932,), (1352576985,), (1352577000,), (1352577003,), (1352577007,), (1352577022,), (1352577050,), (1352577806,), (1352577851,), (1352577892,), (1352577928,), (1352578385,), (1352578278,), (1352578282,), (1352578321,), (1352578607,), (1352578626,), (1352578630,), (1352578677,), (1352578679,), (1352578681,), (1352578682,), (1352578684,), (1352578690,), (1352578732,), (1352578734,), (1352578737,), (1352578740,), (1352578783,), (1352578784,), (1352578786,), (1352578788,), (1352578791,), (1352578838,), (1352578845,), (1352578853,), (1352578900,), (1352579003,), (1352579056,), (1352579060,), (1352579063,), (1352579067,), (1352579120,), (1352579122,), (1352579239,), (1352579242,), (1352579249,), (1352579250,), (1352579262,), (1352579357,), (1352579358,), (1352579361,), (1352579363,), (1352579367,), (1352579370,), (1352579447,), (1352579450,), (1352579462,), (1352579511,), (1352579513,), (1352579515,), (1352579517,), (1352579520,), (1352579559,), (1352579564,), (1352579572,), (1352579576,), (1352579586,), (1352579590,), (1352579633,), (1352579637,), (1352579641,), (1352579644,), (1352579739,), (1352579719,), (1352579723,), (1352579727,), (1352579730,), (1352579734,), (1352579899,), (1352579928,), (1352579957,), (1352579971,), (1352580012,), (1352580014,), (1352580019,), (1352580030,), (1352580039,), (1352580045,), (1352580117,), (1352580120,), (1352580124,), (1352580128,), (1352580200,), (1352580205,), (1352580210,), (1352580244,), (1352580248,), (1352580269,), (1352580320,), (1352580323,), (1352580326,), (1352580331,), (1352580374,), (1352580379,), (1352580383,), (1352580388,), (1352580400,), (1352580405,), (1352580443,), (1352580447,), (1352580451,), (1352580496,), (1352580594,), (1352580853,), (1352580917,), (1352580929,), (1352581004,), (1352581033,), (1352581038,), (1352581042,), (1352581048,), (1352581105,), (1352581109,), (1352581113,), (1352581116,), (1352581120,), (1352581159,), (1352581165,), (1352581171,), (1352581257,), (1352581236,), (1352581241,), (1352581246,), (1352581250,), (1352581253,), (1352581282,), (1352581287,), (1352581291,), (1352581302,), (1352581312,), (1352581360,), (1352581364,), (1352581368,), (1352581436,), (1352581451,), (1352581460,), (1352581463,), (1352581586,), (1352581589,), (1352581592,), (1352581596,), (1352581662,), (1352581667,), (1352581674,), (1352581754,), (1352581756,), (1352581760,), (1352581762,), (1352581763,), (1352581768,), (1352581925,), (1352581931,), (1352581935,), (1352581939,), (1352581942,), (1352581977,), (1352581995,), (1352582025,), (1352582055,), (1352582223,), (1352582242,), (1352582246,), (1352582250,), (1352582253,), (1352582306,), (1352582308,), (1352582310,), (1352582312,), (1352582509,), (1352582545,), (1352582589,), (1352582891,), (1352582922,), (1352582939,), (1352582946,), (1352582950,), (1352583258,), (1352583296,), (1352583340,), (1352583356,), (1352583363,), (1352583366,), (1352583484,), (1352583492,), (1352583521,), (1352583527,), (1352583801,), (1352583743,), (1352583782,), (1352583787,), (1352583791,), (1352583793,), (1352584033,), (1352584037,), (1352584038,), (1352584042,), (1352584096,), (1352584100,), (1352584108,), (1352584115,), (1352584118,), (1352584122,), (1352584182,), (1352584183,), (1352584185,), (1352584187,), (1352584190,), (1352584237,), (1352584253,), (1352584259,), (1352584274,), (1352584286,), (1352584289,), (1352584425,), (1352584440,), (1352584491,), (1352584543,), (1352584776,), (1352584779,), (1352584782,), (1352584797,), (1352584830,), (1352584961,), (1352584965,), (1352584968,), (1352584972,), (1352585019,), (1352585027,), (1352585033,), (1352585036,), (1352585039,), (1352585042,), (1352585073,), (1352585078,), (1352585081,), (1352585132,), (1352585135,), (1352585139,), (1352585143,), (1352585147,), (1352585150,), (1352585178,), (1352585180,), (1352585182,), (1352585184,), (1352585187,), (1352585305,), (1352585308,), (1352585356,), (1352585382,), (1352586572,), (1352586632,), (1352586725,), (1352586765,), (1352586798,), (1352586834,), (1352587311,), (1352587253,), (1352587258,), (1352587265,), (1352587286,), (1352587521,), (1352587546,), (1352587576,), (1352587713,), (1352587717,), (1352587720,), (1352587724,), (1352587728,), (1352587741,), (1352587925,), (1352587953,), (1352587981,), (1352588337,), (1352588389,), (1352588418,), (1352588447,), (1352588477,), (1352588507,), (1352588702,), (1352588708,), (1352588712,), (1352588992,), (1352589042,), (1352589384,), (1352589395,), (1352589399,), (1352589402,), (1352589415,), (1352589446,), (1352589532,), (1352589535,), (1352589538,), (1352589544,), (1352589550,), (1352589570,), (1352589666,), (1352612910,), (1352674526,), (1352675007,), (1352675807,), (1352676566,), (1352676604,), (1352676861,), (1352677649,), (1352678360,), (1352735304,), (1352735308,), (1352735311,), (1352736569,), (1352737154,), (1352737167,), (1352737264,), (1352737319,), (1352737322,), (1352738718,), (1352739693,), (1352740938,), (1352740974,), (1352741982,), (1352742019,), (1352742424,), (1352742657,), (1352742695,), (1352743214,), (1352743244,), (1352743467,), (1352743494,), (1352743674,), (1352744341,), (1352744493,), (1352744496,), (1352744499,), (1352744629,), (1352744688,), (1352744696,), (1352745338,), (1352745482,), (1352745485,), (1352745535,), (1352745856,), (1352745858,), (1352745861,), (1352746268,), (1352746290,), (1352746832,), (1352746892,), (1352747933,), (1352782991,), (1352783191,), (1352783216,), (1352783243,), (1352783794,), (1352784759,), (1352784762,), (1352784765,), (1352784792,), (1352785050,), (1352785052,), (1352785055,), (1352787366,), (1352805009,), (1352805066,), (1352805774,), (1352805845,), (1352806950,), (1352806969,), (1352809033,), (1352809078,), (1352809204,), (1352809261,), (1352809342,), (1352809347,), (1352809665,), (1352809948,), (1352810084,), (1352810596,), (1352810592,), (1352811861,), (1352813226,), (1352813263,), (1352814779,), (1352814854,), (1352814856,), (1352820532,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'22042025': {'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([22283193]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] map_info['map_portfolio_photo'] : {22283193: [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726]} final : True mtd_id 4302 list_pids : [1352519937, 1352519826, 1352519798, 1352519796, 1352519789, 1352519665, 1352519662, 1352519656, 1352519651, 1352519648, 1352519360, 1352519333, 1352519327, 1352519326, 1352519306, 1352519304, 1352519301, 1352519189, 1352519169, 1352519167, 1352519165, 1352519144, 1352519016, 1352519012, 1352519002, 1352518994, 1352518970, 1352518968, 1352518967, 1352518966, 1352518965, 1352518963, 1352518827, 1352518825, 1352518726] Looping around the photos to save general results len do output : 1 /22283193Didn'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, '2751231') ('4302', '22283193', '1352519937', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231') ('4302', None, None, None, None, None, None, None, '2751231') ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231') 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, '22283193', 'None', None, None, None, None, '2751231'), ('4302', '22283193', '1352519937', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519826', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519798', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519796', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519789', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519665', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519662', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519656', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519651', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519648', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519360', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519333', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519327', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519326', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519306', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519304', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519301', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519189', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519169', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519167', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519165', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519144', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519016', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519012', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352519002', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518994', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518970', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518968', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518967', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518966', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518965', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518963', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518827', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518825', None, None, None, None, None, '2751231'), ('4302', '22283193', '1352518726', None, None, None, None, None, '2751231')] time used for this insertion : 0.01749110221862793 save_final save missing photos in datou_result : time spend for datou_step_exec : 2.14357590675354 time spend to save output : 0.017835617065429688 total time spend for step 5 : 2.1614115238189697 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 (2751231) 2.95user 2.15system 0:17.92elapsed 28%CPU (0avgtext+0avgdata 161808maxresident)k 576inputs+28568outputs (11major+79485minor)pagefaults 0swaps